![]() ![]() Refer here to explore the rich set of Syncfusion Essential PDF features. Choose 'Printing Preferences' and check page size, print zoom (default is 100) and etc. First, go to the printer list and right-click 'Right PDF (or Gaaiho PDF/ DocuCom PDF Driver, if you use Gaaiho/ DocuCom)'. Take a moment to peruse the documentation, where you can find the options like inserting, rotating, importing, and rearranging the pages from an existing document, removing the pages and splitting a PDF file to individual pages. Right PDF Properties There are several ways to open the 'Right PDF Properties' dialog box, here is one of them. If you want to preserve your Excel spreadsheet’s margins, text, and more, the best place to start is with a PDF tool like Adobe Acrobat online services. īy executing the program, you will get the PDF document as follows. Click one of the boxes underneath the Page Range section. Only the page range you choose will receive the new margin size. ![]() 'This will open the PDF file so, the result will be seen in default PDF viewerĪ complete working sample can be downloaded from PageMarginSample.zip. How to Set Custom Page Margins in PDFs Page Range The first thing you’ll do is set the page range. Graphics.DrawRectangle(PdfPens.Red, New RectangleF(0, 0, page.GetClientSize().Width, page.GetClientSize().Height)) Graphics.DrawString("Hello world!", font, brush, New PointF(20, 20)) Dim document As PdfDocument = New PdfDocument()ĭim page As PdfPage = ()ĭim graphics As PdfGraphics = page.Graphicsĭim brush As PdfBrush = New PdfSolidBrush(Color.Black)ĭim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 14) ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |