alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    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.

    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved