[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.PageSize

PageSize Class

Represents page size and orientation for all pages in a section.

Inheritance
PageSize
Namespace: GrapeCity.Documents.Word
Assembly: DS.Documents.Word.dll
Syntax
public class PageSize
Public Class PageSize

Properties

Name Description
Code

Gets or sets an optional value that can be used to store an identifier for the current paper size.

Height

Gets or sets the page height in points.

Orientation

Gets or sets the orientation of a page.

Changing Orientation swaps Width and Height.

PaperSize

Gets or sets the paper size.

Setting this property updates Width and Height, unless the value is PaperCustom.

Width

Gets or sets the page width in points.

Methods

Name Description
ClearFormatting()

Resets page size to default values.