Table of Contents

Class Margins

Namespace
EvoPdf
Assembly
evohtmltopdf.dll

This class represents the dimensions of the margins of a PDF page

[ClassInterface(ClassInterfaceType.AutoDual)]
public class Margins
Inheritance
Margins
Inherited Members

Constructors

Margins()

Initializes all margins with 0

public Margins()

Margins(float)

Initializes all margins with the same value

public Margins(float all)

Parameters

all float

The value for all document margins.

Margins(float, float, float, float)

Initializes the margins with the given values

public Margins(float left, float right, float top, float bottom)

Parameters

left float

The left margin

right float

The right margin

top float

The top margin

bottom float

The bottom margin

Properties

Bottom

The bottom margin in points

public float Bottom { get; set; }

Property Value

float

Empty

Empty margins object

public static Margins Empty { get; }

Property Value

Margins

Left

The left margin in points

public float Left { get; set; }

Property Value

float

Right

The right margin in points of the PDF page

public float Right { get; set; }

Property Value

float

Top

The top margin in points of the PDF page

public float Top { get; set; }

Property Value

float