Class PageLayout
Class for specifying the layout of a page.
Inheritance
System.Object
PageLayout
Namespace: Adobe.DocumentCloud.Services.options.createpdf
Assembly: Adobe.DocumentCloud.Services.Doc.dll
Syntax
public class PageLayout
Constructors
PageLayout()
Constructor to initialize a default page layout. The default layout sets the height as 11 inches, width as 8 inches.
Declaration
public PageLayout()
Properties
PageHeight
Get height of the page, in inches
Declaration
public double PageHeight { get; }
Property Value
| Type | Description |
|---|---|
| System.Double | Height of the page, in inches |
PageWidth
Get width of the page, in inches
Declaration
public double PageWidth { get; }
Property Value
| Type | Description |
|---|---|
| System.Double | Width of the page, in inches |
Methods
SetPageSize(Double, Double)
Sets a custom page size.
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 |