Represents the page setup description for a section. The PageSetup object contains all page setup attributes (left margin, bottom margin, paper size ...) as properties.

System.Object
  Docentric.Documents.ObjectModel.DocumentObject
    Docentric.Documents.ObjectModel.PageSetup

Namespace: Docentric.Documents.ObjectModel
Assembly: Docentric.Documents.ObjectModel (in Docentric.Documents.ObjectModel.dll)
public class PageSetup : DocumentObject

The PageSetup type exposes the following members.

Name Description
Public constructor .ctor()
Name Description
Public member LineNumbersCountBy Specifies the line number increments to be displayed in the current document.
Public member LineNumbersDistanceFromText Gets or sets the line number distance from text.
Public member LineNumbersRestartType Gets or sets the line number restart type.
Public member LineNumbersStartingNumber Gets or sets the line starting number.
Public member Orientation Gets or sets the orientation of the page.
Public member OwnerDocument Gets the owner document. (Inherited from DocumentObject)
Public member PageMargins Gets or sets the page margins
Public member PageNumbersStartingNumber Gets or sets the number that appears on the first page of the section.
Public member PageNumbersStyle Gets or sets the number style for the page number.
Public member PageSize Gets or sets the page/paper size.
Public member TextColumns Gets or sets the text columns.
Public member TextColumnsEvenlySpaced Gets or sets a value indicating whether all text columns have equal width and are evenly spaced.
Public member TextColumnsLineBetween Gets or sets a value indicating whether to show or not the line between the text columns.
Public member TextColumnsSpaceAfter Gets or sets the amount of space between each column. Set this property only if the EvenlySpaced property is True.
Name Description
Public method Clone Clones this DocumentObject object including its DOM children. (Inherited from DocumentObject)
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object)
Public method GetType Gets the Type of the current instance. (Inherited from Object)
Public method SetupIdenticalTextColumns Removes any existing text columns and and ads new ones, all with the same width and the same spacing.
Public method ToString Returns a String that represents the current Object. (Inherited from Object)