Gets or sets the margins for the PDF pages.
Namespace: MindFusion.Diagramming.Export
Assembly: MindFusion.Diagramming.Export.Pdf
SyntaxC#
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.
ExampleThe 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 |
See Also