Class PageLayout
Class for specifying the layout of a page.
Inheritance
System.Object
PageLayout
Namespace: Adobe.PDFServicesSDK.pdfjobs.parameters.htmltopdf
Assembly: Adobe.PDFServicesSDK.Doc.dll
Syntax
public class PageLayout
Constructors
PageLayout()
Constructor to initialize a default page layout. The default layout sets the height as 11 inches and width as 8.5 inches.
Declaration
public PageLayout()
Methods
SetPageSize(Double, Double)
Sets a custom page size.
Page size and orientation can also be set using paged media CSS which overrides the SDK Page Layout settings.
Declaration
public void SetPageSize(double pageWidth, double pageHeight)
Parameters
Type | Name | Description |
---|---|---|
System.Double | pageWidth | width of the page in inches |
System.Double | pageHeight | height of the page in inches |