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