←Select platform

SupportsFixed Property

Summary

true if this AnnObject can be fixed; false otherwise

Syntax

C#
VB
C++
public virtual bool SupportsFixed { get; } 
  
Public Overridable ReadOnly Property SupportsFixed As Boolean 
public: 
virtual property bool SupportsFixed { 
   bool get(); 
} 

Property Value

true if this AnnObject can be fixed; false otherwise

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, SetFixedState and FixedState. For more information on fixed annotation objects, refer to Fixed Annotations (Deprecated).

Example

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

C#
VB
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); 
} 
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 

Requirements

Target Platforms

See Also

Reference

AnnObject Class

AnnObject Members

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations Assembly