API Reference
Class
WordPageSizes
Provides helpers for manipulating Word page size and orientation.
Inheritance
- Object
- WordPageSizes
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property WordDocument.PageSettings
- Property WordSection.PageSettings
Constructors
public WordPageSizes(WordDocument wordDocument, WordSection wordSection) #Manipulate section/page settings
Parameters
- wordDocument OfficeIMO.Word.WordDocument
- wordSection OfficeIMO.Word.WordSection
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public Nullable<WordPageSize> PageSize { get; set; } #This element specifies the properties (size and orientation) for all pages in the current section.
public Nullable<UInt32> Width { get; set; } #Get or Set section/page Width
public Nullable<UInt32> Height { get; set; } #Get or Set section/page Height
public Nullable<UInt16> Code { get; set; } #Get or Set section/page Code
public OfficePageOrientation Orientation { get; set; } #Get or Set section/page Orientation
public static WordPageSizeDefinition A3 { get; } #Gets the default A3 page size.
public static WordPageSizeDefinition A4 { get; } #Gets the default A4 page size.
public static WordPageSizeDefinition A5 { get; } #Gets the default A5 page size.
public static WordPageSizeDefinition Executive { get; } #Gets the default Executive page size.
public static WordPageSizeDefinition A6 { get; } #Gets the default A6 page size.
public static WordPageSizeDefinition B5 { get; } #Gets the default B5 page size.
public static WordPageSizeDefinition Statement { get; } #Gets the default Statement page size.
public static WordPageSizeDefinition Legal { get; } #Gets the default Legal page size.
public static WordPageSizeDefinition Letter { get; } #Gets the default Letter page size.