Class DiagramFitOptions
Inheritance
System.Object
Syncfusion.EJ2.EJTagHelper
DiagramFitOptions
Namespace: Syncfusion.EJ2.Diagrams
Assembly: Syncfusion.EJ2.dll
Syntax
public class DiagramFitOptions : EJTagHelper
Constructors
DiagramFitOptions()
Declaration
public DiagramFitOptions()
Properties
CanFit
Enables/Disables fit while render
Declaration
public bool CanFit { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |
CanZoomIn
Enables/Disables zooming to fit the smaller content into larger viewport
Declaration
public bool CanZoomIn { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |
ContentTemplate
To get or set value for ContentTemplate.
Declaration
public MvcTemplate<object> ContentTemplate { get; set; }
Property Value
Type |
---|
Syncfusion.EJ2.MvcTemplate<System.Object> |
CustomBounds
Defines the custom region that has to be fit into the viewport
Declaration
public object CustomBounds { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The default value is null |
Margin
Defines the space to be left between the viewport and the content
Declaration
public DiagramMargin Margin { get; set; }
Property Value
Type | Description |
---|---|
DiagramMargin | The default value is null |
Mode
Defines whether the diagram has to be horizontally/vertically fit into the viewport
Declaration
public FitModes Mode { get; set; }
Property Value
Type | Description |
---|---|
FitModes | The default value is FitModes.Page |
Region
Defines the region that has to be fit into the viewport
Declaration
public DiagramRegions Region { get; set; }
Property Value
Type | Description |
---|---|
DiagramRegions | The default value is DiagramRegions.PageSettings |