Class DiagramRegion
Specifies the region that has to be fit within the viewport.
Inheritance
System.Object
DiagramRegion
Namespace: Syncfusion.Blazor.Diagram
Assembly: Syncfusion.Blazor.dll
Syntax
public sealed class DiagramRegion : Enum
Examples
<SfDiagramComponent >
</SfDiagramComponent>
@code
{
SfDiagramComponent Diagram;
FitOptions Options = new FitOptions(){
Region = DiagramRegion.PageSettings
}
Diagram.FitToPage(Options);
}
Fields
Content
Specifies the region holding content of the diagram without empty space around the content.
Declaration
public const DiagramRegion Content
Field Value
Type |
---|
DiagramRegion |
PageSettings
Specifies the region within the given values(x,y, width and height) of page settings.
Declaration
public const DiagramRegion PageSettings
Field Value
Type |
---|
DiagramRegion |