Discover the PageSetup PaperSize property to easily customize and manage your document's paper size for optimal printing results....docx" ); Shows how to set page sizes. Document doc = new Document...// We can change the current page's size to a pre-defined size...
გადაიყვანეთ PDF Გამოსახულება C# ფორმატში კოდით. შეინახეთ PDF როგორც Გამოსახულება C#....Jpg); for ( int page = 0 ; page < doc.PageCount; page++) { saveOptions...= new PageSet(page); doc.Save( $"Output_ {page + 1 } .jpg" ,...
This article explains how to use the C++ API to set custom paper size of your desired worksheets when rendering Excel file to PDF file format programmatically....PageSetup class to specify a custom page size. The following sample code...cell B4 b4 . PutValue ( u "Pdf Page Dimensions: 6.00 x 4.00 in"...