PdfPageOptions.MarginTop Property

Gets or sets the top margin of the page in points.

Namespace:  BitMiracle.Docotic.Pdf.HtmlToPdf
Assembly:  BitMiracle.Docotic.Pdf.HtmlToPdf (in BitMiracle.Docotic.Pdf.HtmlToPdf.dll)

Syntax

C#
public int MarginTop { get; set; }
VB
Public Property MarginTop As Integer
	Get
	Set

Property Value

Type: Int32
The top margin of the page in points.

Remarks

Default value: 0.

One point is 1/72 of inch.

The margin must be greater than or equal to zero.

See Also