OfficeIMO

API Reference

Class

WordPageSizes

Namespace OfficeIMO.Word
Assembly OfficeIMO.Word

Provides helpers for manipulating Word page size and orientation.

Inheritance

  • Object
  • WordPageSizes

Constructors

public WordPageSizes(WordDocument wordDocument, WordSection wordSection) #

Manipulate section/page settings

Parameters

wordDocument OfficeIMO.Word.WordDocument requiredposition: 0
wordSection OfficeIMO.Word.WordSection requiredposition: 1

Properties

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

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

public UInt32Value Width { get; set; } #

Get or Set section/page Width

public UInt32Value Height { get; set; } #

Get or Set section/page Height

public UInt16Value Code { get; set; } #

Get or Set section/page Code

public PageOrientationValues Orientation { get; set; } #

Get or Set section/page Orientation

public static PageSize A3 { get; } #

Gets the default A3 page size.

public static PageSize A4 { get; } #

Gets the default A4 page size.

public static PageSize A5 { get; } #

Gets the default A5 page size.

public static PageSize Executive { get; } #

Gets the default Executive page size.

public static PageSize A6 { get; } #

Gets the default A6 page size.

public static PageSize B5 { get; } #

Gets the default B5 page size.

public static PageSize Statement { get; } #

Gets the default Statement page size.

public static PageSize Letter { get; } #

Gets the default Letter page size.