[]
        
(Showing Draft Content)

C1.C1Preview.PageLayout

PageLayout Class

Represents the page layout of a C1PrintDocument.

Inheritance
PageLayout
Implements
Namespace: C1.C1Preview
Assembly: C1.PrintDocument.8.dll
Syntax
[C1ClassSerialization(true)]
public class PageLayout : ICloneable

Constructors

Name Description
PageLayout()

Initializes a new instance of the PageLayout class.

PageLayout(C1PageSettings)

Initializes a new instance of the PageLayout class.

PageLayout(C1PageSettings, params PageColumnDef[])

Initializes a new instance of the PageLayout class.

Properties

Name Description
Columns

Gets the collection of PageColumnDef objects associated with the current page layout. Note that accessing this property initializes the collection of column definitions if it has not been initialized yet. Use HasColumns to test whether any columns have been defined on this layout.

Document

Gets the C1PrintDocument containing the current object.

HasColumns

Gets or sets a value indicating whether the Columns collection on the current page layout has been initialized and is not empty.

Kind

Gets the PageLayoutKindEnum associated with the current PageLayout in the document. If Document is null, None is returned.

Overlay

Gets or sets the overlay associated with the current page layout.

Gets or sets the page footer associated with the current page layout.

PageHeader

Gets or sets the page header associated with the current page layout.

PageSettings

Gets or sets the C1PageSettings object associated with the current page layout.

Watermark

Gets or sets the watermark associated with the current page layout.

Methods

Name Description
AssignFrom(PageLayout)

Assigns (copies) properties from another PageLayout to the current object. All nested objects (render objects, page settings etc.) are cloned.

Clear()

Clears the current PageLayout object.

Clone()

Creates a copy of the current PageLayout object. All nested objects (render objects, page settings etc.) are cloned on the new object.

ShouldSerializeColumns()

Indicates whether the Columns property should be serialized.