Class DiagramLabel
Label is a block of text that can be displayed over a node or connector. Label is used to textually represent an object with a string that can be edited at run time.
Inheritance
System.Object
DiagramLabel
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Syncfusion.EJ.Web.dll
Syntax
public class DiagramLabel
Constructors
DiagramLabel()
Declaration
Properties
Alignment
Declaration
[JsonProperty("alignment")]
[JsonConverter(typeof(StringEnumConverter))]
public LabelAlignment Alignment { get; set; }
Property Value
Bold
Declaration
[JsonProperty("bold")]
public bool Bold { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
BoundaryConstraints
Declaration
[JsonProperty("BoundaryConstraints")]
public bool BoundaryConstraints { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Constraints
Declaration
[JsonProperty("constraints")]
[JsonConverter(typeof(StringEnumConverter))]
public LabelConstraints Constraints { get; set; }
Property Value
DragLimit
Declaration
[JsonProperty("dragLimit")]
public LabelMargin DragLimit { get; set; }
Property Value
FillColor
Declaration
[JsonProperty("fillColor")]
public string FillColor { get; set; }
Property Value
Type |
Description |
System.String |
|
FontColor
Declaration
[JsonProperty("fontColor")]
public string FontColor { get; set; }
Property Value
Type |
Description |
System.String |
|
FontFamily
Declaration
[JsonProperty("fontFamily")]
public string FontFamily { get; set; }
Property Value
Type |
Description |
System.String |
|
FontSize
Declaration
[JsonProperty("fontSize")]
public int FontSize { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Height
Declaration
[JsonProperty("height")]
public double Height { get; set; }
Property Value
Type |
Description |
System.Double |
|
HorizontalAlignment
Declaration
[JsonConverter(typeof(StringEnumConverter))]
[JsonProperty("horizontalAlignment")]
public HorizontalAlignment HorizontalAlignment { get; set; }
Property Value
Hyperlink
Declaration
[JsonProperty("hyperlink")]
public string Hyperlink { get; set; }
Property Value
Type |
Description |
System.String |
|
ID
Declaration
public string ID { get; set; }
Property Value
Type |
Description |
System.String |
|
Italic
Declaration
[JsonProperty("italic")]
public bool Italic { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Labels
Declaration
public Collection Labels { get; }
Property Value
Margin
Declaration
[JsonProperty("margin")]
public LabelMargin Margin { get; set; }
Property Value
Mode
Declaration
[JsonProperty("mode")]
[JsonConverter(typeof(StringEnumConverter))]
public LabelEditMode Mode { get; set; }
Property Value
Name
Declaration
[JsonProperty("name")]
public string Name { get; set; }
Property Value
Type |
Description |
System.String |
|
Offset
Declaration
[JsonProperty("offset")]
public DiagramPoint Offset { get; set; }
Property Value
Opacity
Declaration
[JsonProperty("opacity")]
public double Opacity { get; set; }
Property Value
Type |
Description |
System.Double |
|
ReadOnly
Declaration
[JsonProperty("readOnly")]
public bool ReadOnly { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
RelativeMode
Declaration
[JsonConverter(typeof(StringEnumConverter))]
[JsonProperty("relativeMode")]
public LabelRelativeMode RelativeMode { get; set; }
Property Value
RotateAngle
Declaration
[JsonProperty("rotateAngle")]
public double RotateAngle { get; set; }
Property Value
Type |
Description |
System.Double |
|
SegmentOffset
Declaration
[JsonProperty("segmentOffset")]
public double SegmentOffset { get; set; }
Property Value
Type |
Description |
System.Double |
|
TemplateId
Declaration
[JsonProperty("templateId")]
public string TemplateId { get; set; }
Property Value
Type |
Description |
System.String |
|
TemplateType
Declaration
[JsonConverter(typeof(StringEnumConverter))]
[JsonProperty("templateType")]
public TemplateType TemplateType { get; set; }
Property Value
Text
Declaration
[JsonProperty("text")]
public string Text { get; set; }
Property Value
Type |
Description |
System.String |
|
TextAlign
Declaration
[JsonProperty("align")]
[JsonConverter(typeof(StringEnumConverter))]
public TextAlign TextAlign { get; set; }
Property Value
TextDecoration
Declaration
[JsonProperty("textDecoration")]
[JsonConverter(typeof(StringEnumConverter))]
public TextDecorations TextDecoration { get; set; }
Property Value
VerticalAlignment
Declaration
[JsonProperty("verticalAlignment")]
[JsonConverter(typeof(StringEnumConverter))]
public VerticalAlignment VerticalAlignment { get; set; }
Property Value
Visible
Declaration
[JsonProperty("visible")]
public bool Visible { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Width
Declaration
[JsonProperty("width")]
public double Width { get; set; }
Property Value
Type |
Description |
System.Double |
|
WrapText
Declaration
[JsonProperty("wrapText")]
public bool WrapText { get; set; }
Property Value
Type |
Description |
System.Boolean |
|