![]() ![]() G.CopyFromScreen( new Point(bounds.Left,bounds.Top), Point.Empty, bounds.Size) īitmap.Save( "C://test.jpg", ImageFormat.Jpeg) Īnd then pass the image into iDiTect.Pdf like: var doc = new PdfDocument() Using (Graphics g = Graphics.FromImage(bitmap)) Using (Bitmap bitmap = new Bitmap(bounds.Width, bounds.Height)) You could first Capture screenshot of active window Rectangle bounds = this.Bounds So, can someone please help me get started, by telling me how to use iDiTect.Pdf in my project? Answer I tried to figure it out by reading forums, other questions and answers, but I've just no clue where to get started. I ran into some answers recommending iDiTect, but I have no clue how to use it. I want the user to be able to export the current open form as a PDF-file. I'm creating a Windows Application with several forms in Microsoft Visual Studio 2005.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |