Class DiagramFitOptions
Inheritance
System.Object
DiagramFitOptions
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 |
|
CanZoomIn
Enables/Disables zooming to fit the smaller content into larger viewport
Declaration
public bool CanZoomIn { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
ContentTemplate
To get or set value for ContentTemplate.
Declaration
public MvcTemplate<object> ContentTemplate { get; set; }
Property Value
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 |
|
IsComplex
Declaration
protected override bool IsComplex { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Margin
Defines the space to be left between the viewport and the content
@default { left: 25, right: 25, top: 25, bottom: 25 }
Declaration
public DiagramMargin Margin { get; set; }
Property Value
Mode
Defines whether the diagram has to be horizontally/vertically fit into the viewport
Declaration
public FitModes Mode { get; set; }
Property Value
ParentPropertyName
Declaration
protected override string ParentPropertyName { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
Region
Defines the region that has to be fit into the viewport
Declaration
public DiagramRegions Region { get; set; }
Property Value