Table of Contents

Property MarginTop

Namespace
BitMiracle.Docotic.Pdf.HtmlToPdf
Assembly
BitMiracle.Docotic.Pdf.HtmlToPdf.dll

MarginTop

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

public int MarginTop { get; set; }

Property Value

int

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.

Read the Convert HTML to PDF in C# and VB.NET article for examples of using this property.