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
floatThe 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
floatThe left margin
right
floatThe right margin
top
floatThe top margin
bottom
floatThe bottom margin
Properties
Bottom
The bottom margin in points
public float Bottom { get; set; }
Property Value
Empty
Empty margins object
public static Margins Empty { get; }
Property Value
Left
The left margin in points
public float Left { get; set; }
Property Value
Right
The right margin in points of the PDF page
public float Right { get; set; }
Property Value
Top
The top margin in points of the PDF page
public float Top { get; set; }