Skip to content

Latest commit

 

History

History
205 lines (121 loc) · 2.89 KB

officeimo.word.wordpagesizes.md

File metadata and controls

205 lines (121 loc) · 2.89 KB

WordPageSizes

Namespace: OfficeIMO.Word

public class WordPageSizes

Inheritance ObjectWordPageSizes

Properties

PageSize

This element specifies the properties (size and orientation) for all pages in the current section.

public Nullable<WordPageSize> PageSize { get; set; }

Property Value

Nullable<WordPageSize>

Width

Get or Set section/page Width

public UInt32Value Width { get; set; }

Property Value

UInt32Value

Height

Get or Set section/page Height

public UInt32Value Height { get; set; }

Property Value

UInt32Value

Code

Get or Set section/page Code

public UInt16Value Code { get; set; }

Property Value

UInt16Value

Orientation

Get or Set section/page Orientation

public PageOrientationValues Orientation { get; set; }

Property Value

PageOrientationValues

A3

public static PageSize A3 { get; }

Property Value

PageSize

A4

public static PageSize A4 { get; }

Property Value

PageSize

A5

public static PageSize A5 { get; }

Property Value

PageSize

Executive

public static PageSize Executive { get; }

Property Value

PageSize

A6

public static PageSize A6 { get; }

Property Value

PageSize

B5

public static PageSize B5 { get; }

Property Value

PageSize

Statement

public static PageSize Statement { get; }

Property Value

PageSize

Legal

public static PageSize Legal { get; }

Property Value

PageSize

Letter

public static PageSize Letter { get; }

Property Value

PageSize

Constructors

WordPageSizes(WordDocument, WordSection)

Manipulate section/page settings

public WordPageSizes(WordDocument wordDocument, WordSection wordSection)

Parameters

wordDocument WordDocument

wordSection WordSection

Methods

GetOrientation(SectionProperties)

internal static PageOrientationValues GetOrientation(SectionProperties sectionProperties)

Parameters

sectionProperties SectionProperties

Returns

PageOrientationValues

SetOrientation(SectionProperties, PageOrientationValues)

internal static void SetOrientation(SectionProperties sectionProperties, PageOrientationValues pageOrientationValue)

Parameters

sectionProperties SectionProperties

pageOrientationValue PageOrientationValues