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