[This is preliminary documentation and is subject to change.]

Get the default margins of the main content.

Namespace: TallComponents.Web.Pdf
Assembly: TallComponents.WebToPDF (in TallComponents.WebToPDF.dll) Version: 1.0.4.1

Syntax

C#
public Spacing DefaultMargin { get; }
Visual Basic
Public ReadOnly Property DefaultMargin As Spacing
	Get

Remarks

Values are in points (1/72 inch). Default margins are 0.5 inch (36pt) for Left and Right and 0.75 inch (54pt) for Top and Bottom.

The DefaultMargin is used if there is no matching MasterPage. Otherwise, the Margin property of the MasterPage is used.

See Also