Namespace: OfficeIMO.Word
public class WordPageSizes
Inheritance Object → WordPageSizes
This element specifies the properties (size and orientation) for all pages in the current section.
public Nullable<WordPageSize> PageSize { get; set; }
Get or Set section/page Width
public UInt32Value Width { get; set; }
UInt32Value
Get or Set section/page Height
public UInt32Value Height { get; set; }
UInt32Value
Get or Set section/page Code
public UInt16Value Code { get; set; }
UInt16Value
Get or Set section/page Orientation
public PageOrientationValues Orientation { get; set; }
PageOrientationValues
public static PageSize A3 { get; }
PageSize
public static PageSize A4 { get; }
PageSize
public static PageSize A5 { get; }
PageSize
public static PageSize Executive { get; }
PageSize
public static PageSize A6 { get; }
PageSize
public static PageSize B5 { get; }
PageSize
public static PageSize Statement { get; }
PageSize
public static PageSize Legal { get; }
PageSize
public static PageSize Letter { get; }
PageSize
Manipulate section/page settings
public WordPageSizes(WordDocument wordDocument, WordSection wordSection)
wordDocument
WordDocument
wordSection
WordSection
internal static PageOrientationValues GetOrientation(SectionProperties sectionProperties)
sectionProperties
SectionProperties
PageOrientationValues
internal static void SetOrientation(SectionProperties sectionProperties, PageOrientationValues pageOrientationValue)
sectionProperties
SectionProperties
pageOrientationValue
PageOrientationValues