Skip to content

PDFFlowDocumentFooter

Namespace: O2S.Components.PDF4NET.FlowDocument

Defines the footer for a flow document.

public class PDFFlowDocumentFooter

Inheritance ObjectPDFFlowDocumentFooter

Constructors

PDFFlowDocumentFooter()

Initializes a new PDFFlowDocumentFooter object.

public PDFFlowDocumentFooter()

Properties

BottomMargin

Gets or sets the bottom margin.

public double BottomMargin { get; set; }

Property Value

Double
Margin from bottom page border where the footer ends.

Remarks

If the footer bottom margin plus footer height are greater than page bottom margin, the page bottom margin is increased (content is moved up) in order to accomodate the footer.


Content

Gets or sets the footer content.

public PDFFlowContentCollection Content { get; }

Property Value

PDFFlowContentCollection


ExtendLeft

Gets or sets the left margin extension.

public double ExtendLeft { get; set; }

Property Value

Double
The distance the footer should extend on the left over the page left margin.

Remarks

By default the footer is drawn within the page left/right margins. You can increase the available width for the footer by specifying a positive value for this property. For example if you want the footer to spread from the left edge of the page to the right edge you can set the PDFFlowDocumentFooter.ExtendLeft and PDFFlowDocumentFooter.ExtendRight properties to values that match the page's left and right margins.


ExtendRight

Gets or sets the right margin extension.

public double ExtendRight { get; set; }

Property Value

Double
The distance the footer should extend on the right over the page right margin.

Remarks

By default the footer is drawn within the page left/right margins. You can increase the available width for the footer by specifying a positive value for this property. For example if you want the footer to spread from the left edge of the page to the right edge you can set the PDFFlowDocumentFooter.ExtendLeft and PDFFlowDocumentFooter.ExtendRight properties to values that match the page's left and right margins.