[]
        
(Showing Draft Content)

C1.WPF.Document.C1PageSettings

C1PageSettings Class

Represents the page settings of a C1Document.

Inheritance
C1PageSettings
Namespace: C1.WPF.Document
Assembly: C1.WPF.Document.4.6.2.dll
Syntax
public class C1PageSettings : INotifyPropertyChanged

Constructors

Name Description
C1PageSettings()

Initializes a new instance of the C1PageSettings class.

C1PageSettings(Unit, Unit, PageMediaSizeName, bool)

Initializes a new instance of the C1PageSettings class.

Properties

Name Description
BottomMargin

Gets or sets the bottom margin.

Height

Gets or sets the height of the paper.

Landscape

Gets or sets a value indicating whether to use landscape orientation. Changing this property swaps height and width of the page.

LeftMargin

Gets or sets the left margin.

PaperSize

Gets or sets the paper kind. Changing of this property may change Width and/or Height.

RightMargin

Gets or sets the right margin.

TopMargin

Gets or sets the top margin.

Width

Gets or sets the width of the paper.

Methods

Name Description
AssignFrom(C1PageSettings)

Sets the properties from C1PageSettings object.

Clone()

Gets the copy of C1PageSettings object.

IsLayoutEqual(C1PageSettings)

Gets a value indicating whether this C1PageSettings object has same layout as another C1PageSettings object, i.e. it has same paper size and margins.

OnPropertyChanged(string)

Raises the PropertyChanged event.

Events

Name Description
PropertyChanged

Occurs when a property value changes.