The SupportsFixed Property is available in LEADTOOLS Document and Medical Imaging toolkits.
true if this AnnObject can be fixed; false otherwiseVisual Basic (Declaration) | |
---|---|
Public Overridable ReadOnly Property SupportsFixed As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As AnnObject Dim value As Boolean value = instance.SupportsFixed |
C# | |
---|---|
public virtual bool SupportsFixed {get;} |
Property Value
true if this AnnObject can be fixed; false otherwiseThis sample examines all objects in a container and looks for objects that do not support the state.
Visual Basic | Copy Code |
---|---|
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 |
C# | Copy Code |
---|---|
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); } |
Fixed annotations are independent of the Transform. The result is that they do not scroll or move with the underlying image. For more information, refer to AnnObject.PushFixedState, AnnObject.SetFixedState and AnnObject.FixedState.
For more information on fixed annotation objects, refer to Fixed Annotations.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7