Skip to content

PDFFlowContentMargins

Namespace: O2S.Components.PDF4NET.FlowDocument

Defines the margins for flow content.

public class PDFFlowContentMargins

Inheritance ObjectPDFFlowContentMargins

Constructors

PDFFlowContentMargins()

Initializes a new PDFFlowContentMargins object.

public PDFFlowContentMargins()

PDFFlowContentMargins(Double)

Initializes a new PDFFlowContentMargins object with the same value for all margins.

public PDFFlowContentMargins(double margins)

Parameters

margins Double
Value for all margins.


PDFFlowContentMargins(Double, Double, Double, Double)

Initializes a new PDFFlowContentMargins object with the distinct values for each margin.

public PDFFlowContentMargins(double left, double right, double top, double bottom)

Parameters

left Double
Left margin

right Double
Right margin

top Double
Top margin

bottom Double
Bottom margin


PDFFlowContentMargins(PDFFlowContentMargins)

Initializes a new PDFFlowContentMargins object from another margins object.

public PDFFlowContentMargins(PDFFlowContentMargins margins)

Parameters

margins PDFFlowContentMargins
Source margins object.


Properties

Bottom

Gets or sets the bottom margin.

public double Bottom { get; set; }

Property Value

Double
The bottom margin for flow content


Left

Gets or sets the left margin.

public double Left { get; set; }

Property Value

Double
The left margin for flow content


Gets or sets the right margin.

public double Right { get; set; }

Property Value

Double
The right margin for flow content


Top

Gets or sets the top margin.

public double Top { get; set; }

Property Value

Double
The top margin for flow content