Enum AnnotationAlignment
It specifies the alignment of the diagram elements based on its immediate parent.
Namespace: Syncfusion.Blazor.Diagram
Assembly: Syncfusion.Blazor.dll
Syntax
public enum AnnotationAlignment
Examples
Connector connector = new Connector()
{
// Initialize annotation collection
Annotations = new DiagramObjectCollection<PathAnnotation>()
{
new PathAnnotation
{
Alignment = AnnotationAlignment.After,
}
},
};
Fields
| Name | Description |
|---|---|
| After | Annotation placed at the bottom of the connector segment. |
| Before | Annotation placed on top of the connector segment. |
| Center | Annotation placed on the connector segment. |