Class
Header

Represents a document header.

Definition

Constructors

Header()

Initializes a new instance of the Header class.

Declaration

cs-api-definition
public Header()

Header(Header)

Initializes a new instance of the Header class.

Declaration

cs-api-definition
public Header(Header header)

Parameters

header

Header

The header to clone.

Properties

IsEmpty

Gets a value indicating whether header/footer is empty.

Declaration

cs-api-definition
public override bool IsEmpty { get; }

Property Value

bool

true if header/footer is empty; otherwise, false.

Overrides HeaderFooterBase.IsEmpty

WatermarkSettings

Gets or sets the watermark settings.

Declaration

cs-api-definition
[XamlCompositePropertySerializable]
public DocumentWatermarkSettings WatermarkSettings { get; set; }

Property Value

DocumentWatermarkSettings

The watermark settings.

Methods

CopyPropertiesFromOverride(HeaderFooterBase)

Copies the properties from another instance to the current one.

Declaration

cs-api-definition
protected override void CopyPropertiesFromOverride(HeaderFooterBase fromHeaderFooter)

Parameters

fromHeaderFooter

HeaderFooterBase

The HeaderFooterBase to copy the properties from.

Overrides HeaderFooterBase.CopyPropertiesFromOverride(HeaderFooterBase)

CreateInstance()

Creates a new instance.

Declaration

cs-api-definition
public override HeaderFooterBase CreateInstance()

Returns

HeaderFooterBase

The new instance.

Overrides HeaderFooterBase.CreateInstance()

OnWatermarkSettingsChanged()

Called after changing the watermark settings.

Declaration

cs-api-definition
protected virtual void OnWatermarkSettingsChanged()

Events

WatermarkSettingsChanged

Occurs after changing the watermark settings.

Declaration

cs-api-definition
public event EventHandler WatermarkSettingsChanged

Event Value

EventHandler