Class DiagramPageSettings
Inheritance
Namespace: Syncfusion.EJ2.Diagrams
Assembly: Syncfusion.EJ2.dll
Syntax
public class DiagramPageSettings : EJTagHelper
Constructors
DiagramPageSettings()
Declaration
public DiagramPageSettings()
Properties
Background
Defines the background color and image of diagram
Declaration
public DiagramBackground Background { get; set; }
Property Value
Type | Description |
---|---|
DiagramBackground | The default value is null |
BoundaryConstraints
Defines the editable region of the diagram Infinity - Allow the interactions to take place at the infinite height and width Diagram - Allow the interactions to take place around the diagram height and width Page - Allow the interactions to take place around the page height and width
Declaration
public BoundaryConstraints BoundaryConstraints { get; set; }
Property Value
Type | Description |
---|---|
BoundaryConstraints | The default value is BoundaryConstraints.Infinity |
ContentTemplate
To get or set value for ContentTemplate.
Declaration
public MvcTemplate<object> ContentTemplate { get; set; }
Property Value
Type |
---|
Syncfusion.EJ2.MvcTemplate<System.Object> |
FitOptions
set the fit options
Declaration
public object FitOptions { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The default value is null |
Height
Sets the height of a diagram Page
Declaration
public double Height { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is Double.NaN |
Margin
Sets the margin of a diagram page
Declaration
public DiagramMargin Margin { get; set; }
Property Value
Type | Description |
---|---|
DiagramMargin | The default value is null |
MultiplePage
Sets whether multiple pages can be created to fit all nodes and connectors
Declaration
public bool MultiplePage { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |
Orientation
Sets the orientation of the pages in a diagram Landscape - Display with page Width is more than the page Height. Portrait - Display with page Height is more than the page width.
Declaration
public PageOrientation Orientation { get; set; }
Property Value
Type | Description |
---|---|
PageOrientation | The default value is PageOrientation.Landscape |
ShowPageBreaks
Enables or disables the page break lines
Declaration
public bool ShowPageBreaks { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |
Width
Sets the width of a diagram Page
Declaration
public double Width { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is Double.NaN |