Gets or sets the margins for the PDF pages.
Namespace: MindFusion.Diagramming.Export
Assembly: MindFusion.Diagramming.Export.Pdf
C# Copy Code |
---|
public Margins Margins { get; set; } |
Visual Basic Copy Code |
---|
Public Property Margins As Margins |
An instance of the .NET Margins class that represents the margins in hundredths of an inch. The default is half-inch margins on all sides.
The following C# code creates a PDF file with one-inch page margins:
C# Copy Code |
---|
PdfExporter exp = new PdfExporter(); |
Visual Basic Copy Code |
---|
Dim exp As New PdfExporter |