Click or drag to resize
PageSetup Class
Represents the page setup properties of a Section.
Inheritance Hierarchy
SystemObject
  GemBox.DocumentPageSetup

Namespace: GemBox.Document
Assembly: GemBox.Document (in GemBox.Document.dll) Version: 25.3.30.1213
Syntax
public sealed class PageSetup

The PageSetup type exposes the following members.

Constructors
  NameDescription
Public methodPageSetup
Initializes a new instance of the PageSetup class.
Top
Methods
  NameDescription
Public methodClone
Clones this PageSetup instance.
Top
Properties
  NameDescription
Public propertyLineNumberCountBy

Gets or sets the line number increments to be displayed.

Although each line has an associated line number, only lines which are an even multiple of this value shall be displayed.

Public propertyLineNumberDistanceFromText
Gets or sets the line number distance from text (in points).
Public propertyLineNumberRestartSetting
Gets or sets the line number restart setting.
Public propertyLineStartingNumber
Gets or sets the line starting number.
Public propertyOrientation
Gets or sets the page orientation.
Public propertyPageColor
Gets or sets the background color for all pages of the parent section.
Public propertyPageHeight
Gets or sets the height of the page (in points).
Public propertyPageMargins
Gets or sets the page margins.
Public propertyPageNumberStyle
Gets or sets the number style for the page number.
Public propertyPageStartingNumber
Gets or sets the number that appears on the first page of the section.
Public propertyPageWidth
Gets or sets the width of the page (in points).
Public propertyPaperType
Gets or sets the type of the paper for the page.
Public propertySectionStart
Gets or sets the type of section start.
Public propertyTextColumns
Gets or sets the text columns.
Top
Remarks
For more information, see page setup sample.
See Also