Interface IDiagramPrintExportSettings
Represents the common configuration settings for printing and exporting the diagram.
Namespace: Syncfusion.Blazor.Diagram
Assembly: Syncfusion.Blazor.dll
Syntax
public interface IDiagramPrintExportSettingsProperties
ClipBounds
Gets or sets the region that to be exported when Region is ClipBounds.
Declaration
DiagramRect ClipBounds { get; set; }Property Value
| Type | Description | 
|---|---|
| DiagramRect | The bounds to be used for clipping area sizing. The default is a DiagramRect(0,0,0,0) | 
FitToPage
Gets or sets the value to indicate whether to print or export the entire diagram to single page or multiple pages.
Declaration
bool FitToPage { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Boolean | true, if the diagram printed or exported to single page. Otherwise, diagram printed or exported into multiple pages or images. The default value is false. | 
Margin
Gets or sets the margin of the page to be printed/exported.
Declaration
DiagramThickness Margin { get; set; }Property Value
| Type | Description | 
|---|---|
| DiagramThickness | Space around the content to be printed/exported.The default value for margin is 25 for all sides. | 
Orientation
Gets or sets the orientation of the page to be printed.
Declaration
PageOrientation Orientation { get; set; }Property Value
| Type | Description | 
|---|---|
| PageOrientation | One of the PageOrientation enumeration values. The default value is Landscape. | 
PageHeight
Gets or sets the height of the page to be printed.
Declaration
double PageHeight { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Double | The height of the page to be printed. The default value will be Height. | 
PageWidth
Gets or sets the width of the page to be printed.
Declaration
double PageWidth { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Double | The width of the page to be printed. The default value will be Width. | 
Region
Gets or sets the region in the diagram which need to be printed or exported.
Declaration
DiagramPrintExportRegion Region { get; set; }Property Value
| Type | Description | 
|---|---|
| DiagramPrintExportRegion | One of the DiagramPrintExportRegion enumeration values. The default value is PageSettings | 
Remarks
- PageSettings - The region within the x,y, width and height values of page settings is printed or exported.
- Content – Content of the diagram without empty space around the content is printed or exported.
- ClipBounds - The region specified using ClipBounds property is exported. This is applicable for exporting only.