menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DiagramRegion - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    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
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved