Class DiagramImageBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
DiagramImageBuilder
Assembly: Syncfusion.EJ2.dll
Syntax
public class DiagramImageBuilder : ControlBuilder
Constructors
DiagramImageBuilder()
Declaration
public DiagramImageBuilder()
DiagramImageBuilder(DiagramImage)
Declaration
public DiagramImageBuilder(DiagramImage model)
Parameters
Methods
Align(ImageAlignment)
Defines the alignment of the image within the node boundary.
None - Alignment value will be set as none
XMinYMin - smallest X value of the view port and smallest Y value of the view port
XMidYMin - midpoint X value of the view port and smallest Y value of the view port
XMaxYMin - maximum X value of the view port and smallest Y value of the view port
XMinYMid - smallest X value of the view port and midpoint Y value of the view port
XMidYMid - midpoint X value of the view port and midpoint Y value of the view port
XMaxYMid - maximum X value of the view port and midpoint Y value of the view port
XMinYMax - smallest X value of the view port and maximum Y value of the view port
XMidYMax - midpoint X value of the view port and maximum Y value of the view port
XMaxYMax - maximum X value of the view port and maximum Y value of the view port
Declaration
public DiagramImageBuilder Align(ImageAlignment value)
Parameters
Returns
Scale(Scale)
Allows to stretch the image as you desired (either to maintain proportion or to stretch)
None - Scale value will be set as None for the image
Meet - Scale value Meet will be set for the image
Slice - Scale value Slice will be set for the image
Declaration
public DiagramImageBuilder Scale(Scale value)
Parameters
Type |
Name |
Description |
Scale |
value |
|
Returns
Source(String)
Defines the source of the image
Declaration
public DiagramImageBuilder Source(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Type(Shapes)
Defines the type of node shape
Declaration
public DiagramImageBuilder Type(Shapes value)
Parameters
Type |
Name |
Description |
Shapes |
value |
|
Returns