[]
Represents page size and orientation for all pages in a section.
public class PageSize
Gets or sets an optional value that can be used to store an identifier for the current paper size.
public ushort Code { get; set; }
Gets or sets the page height in points.
public float Height { get; set; }
Gets or sets the orientation of a page.
Changing Orientation swaps Width and Height.
public PageOrientation Orientation { get; set; }
Gets or sets the paper size.
Setting this property updates Width and Height, unless the value is PaperCustom.
public PaperSize PaperSize { get; set; }
Gets or sets the page width in points.
public float Width { get; set; }
Resets page size to default values.
public void ClearFormatting()