Skip to content

PDFFlowPageDefaults

Namespace: O2S.Components.PDF4NET.FlowDocument

Defines default values for initializing a page in flow mode.

public class PDFFlowPageDefaults

Inheritance ObjectPDFFlowPageDefaults

Constructors

PDFFlowPageDefaults()

Initializes a new PDFFlowPageDefaults object;

public PDFFlowPageDefaults()

PDFFlowPageDefaults(Double, Double)

Initializes a new PDFFlowPageDefaults object;

public PDFFlowPageDefaults(double width, double height)

Parameters

width Double
Default page width

height Double
Default page height


PDFFlowPageDefaults(PDFFlowPageDefaults)

Initializes a new PDFFlowPageDefaults object;

public PDFFlowPageDefaults(PDFFlowPageDefaults source)

Parameters

source PDFFlowPageDefaults
Source page defaults


Properties

Height

Gets or sets the default page height.

public double Height { get; set; }

Property Value

Double
The default page height for a flow document


Margins

Gets the default page margins.

public PDFFlowContentMargins Margins { get; }

Property Value

PDFFlowContentMargins
A PDFFlowContentMargins object specifying the default page margins.


Rotation

Gets or sets the default page rotation.

public int Rotation { get; set; }

Property Value

Int32
The default page rotation for a flow document

Remarks

The accepted values for this property are 0, 90, 180 and 270 degrees.


Width

Gets or sets the default page width.

public double Width { get; set; }

Property Value

Double
The default page width for a flow document