Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.5.2
|
Leadtools.Annotations Namespace > AnnObject Class : SupportsFixed Property |
public virtual bool SupportsFixed {get;}
'Declaration Public Overridable ReadOnly Property SupportsFixed As Boolean
For more information on fixed annotation objects, refer to Fixed Annotations.
This sample examines all objects in a container and looks for objects that do not support the state.
Imports Leadtools Imports Leadtools.Annotations Imports Leadtools.WinForms Public Sub AnnotationObject_SupportsFixed(ByVal annContainer As AnnContainer) Dim supportsFixed As Boolean = True For Each obj As AnnObject In annContainer.Objects supportsFixed = supportsFixed AndAlso obj.SupportsFixed Next obj Dim s As String = String.Format("All Objects in AnnContainer support fixed: {0}", supportsFixed) MessageBox.Show(s) End Sub
using Leadtools; using Leadtools.Annotations; using Leadtools.WinForms; public void AnnotationObject_SupportsFixed(AnnContainer annContainer) { bool supportsFixed = true; foreach (AnnObject obj in annContainer.Objects) { supportsFixed = supportsFixed && obj.SupportsFixed; } string s = String.Format("All Objects in AnnContainer support fixed: {0}", supportsFixed); MessageBox.Show(s); }