Class BpmnTextAnnotation
Represents the information about the any Bpmn element in the diagram.
Inherited Members
Namespace: Syncfusion.Blazor.Diagram
Assembly: Syncfusion.Blazor.dll
Syntax
public class BpmnTextAnnotation : Shape, IDiagramObject, ICloneable
Examples
Node node = new Node()
{
ID = "node1",
Width = 70,
Height = 70,
OffsetX = 100,
OffsetY = 300,
Shape = new BpmnTextAnnotation()
{
TextAnnotationTarget = TextAnnotationTarget.Auto,
TextAnnotationTarget = "node2"
}
};
Constructors
BpmnTextAnnotation()
Initializes a new instance of the BpmnTextAnnotation.
Declaration
public BpmnTextAnnotation()
BpmnTextAnnotation(BpmnTextAnnotation)
Creates a new instance of the BpmnTextAnnotation class.
Declaration
public BpmnTextAnnotation(BpmnTextAnnotation src)
Parameters
Type | Name | Description |
---|---|---|
BpmnTextAnnotation | src | BpmnTextAnnotation |
Properties
TextAnnotationDirection
Gets or sets the direction of the text annotation with respect to target.
Declaration
public TextAnnotationDirection TextAnnotationDirection { get; set; }
Property Value
Type | Description |
---|---|
TextAnnotationDirection | One of the TextAnnotationDirection enumeration that specifies the Direction of the BpmnTextAnnotation Node. The default type is Auto. |
TextAnnotationTarget
Gets or sets the target Bpmn element to the current text annotation.
Declaration
public string TextAnnotationTarget { get; set; }
Property Value
Type | Description |
---|---|
System.String | The sting value represents the unique ID of the target element that defines the target of the BpmnTextAnnotation. |
Methods
Clone()
Creates a new BpmnTextAnnotation that is a copy of the current BpmnTextAnnotation object.
Declaration
public override object Clone()
Returns
Type | Description |
---|---|
System.Object | it returns BpmnTextAnnotation |
Overrides
Implements
System.ICloneable