Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
SupportsFixed Property
See Also  Example
Leadtools.Annotations Namespace > AnnObject Class : SupportsFixed Property




true if this AnnObject can be fixed; false otherwise

Syntax

Visual 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;}
Managed Extensions for C++ 
public: __property virtual bool get_SupportsFixed();
C++/CLI 
public:
virtual property bool SupportsFixed {
   bool get();
}

Return Value

true if this AnnObject can be fixed; false otherwise

Example

This sample examines all objects in a container and looks for objects that do not support the state

Visual BasicCopy 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); 
}

Remarks

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 PushFixedState and SetFixedState.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Raster Pro/Document/Medical Features