The fixed state of this object. This is a dependency property.
public Leadtools.Windows.Annotations.AnnFixedStateOperations FixedState {get; set;}
Public Property FixedState As Leadtools.Windows.Annotations.AnnFixedStateOperations
public:
property Leadtools.Windows.Annotations.AnnFixedStateOperations FixedState {
Leadtools.Windows.Annotations.AnnFixedStateOperations get();
void set ( Leadtools.Windows.Annotations.AnnFixedStateOperations );
}
One or more AnnFixedStateOperations enumeration members that specify the current object fixed state. Default value is AnnFixedStateOperations.None
The LEADTOOLS Annotation toolkit supports fixing the object size and location when the container zooms or scrolls. To fix an object, change the AnnObject.FixedState property from the default AnnFixedStateOperations.None to the desired state.
For more information on fixed annotation objects, refer to WPF Fixed Annotations.
This example will loop through all the objects in a container and set all note objects to be fixed in scrolling and zooming.
Imports Leadtools.Windows.Controls
Imports Leadtools.Windows.Annotations
Private Sub SetNoteObjectsFixedState(ByVal container As AnnContainer)
For Each obj As AnnObject In container.Children
If TypeOf (obj) Is AnnNoteObject Then
obj.FixedState = AnnFixedStateOperations.Scrolling Or AnnFixedStateOperations.Zooming
End If
Next
End Sub
using Leadtools.Windows.Controls;
using Leadtools.Windows.Annotations;
using Leadtools.Demos;
using Leadtools.Help;
private void SetNoteObjectsFixedState(AnnContainer container)
{
foreach(AnnObject obj in container.Children)
{
if(obj is AnnNoteObject)
{
obj.FixedState = AnnFixedStateOperations.Scrolling | AnnFixedStateOperations.Zooming;
}
}
}
using Leadtools.Windows.Controls;
using Leadtools.Windows.Annotations;
using Leadtools.Examples;
private void SetNoteObjectsFixedState(AnnContainer container)
{
foreach(AnnObject obj in container.Children)
{
if(obj is AnnNoteObject)
{
obj.FixedState = AnnFixedStateOperations.Scrolling | AnnFixedStateOperations.Zooming;
}
}
}
Imports Leadtools.Windows.Controls
Imports Leadtools.Windows.Annotations
Private Sub SetNoteObjectsFixedState(ByVal container As AnnContainer)
For Each obj As AnnObject In container.Children
If TypeOf obj Is AnnNoteObject Then
obj.FixedState = AnnFixedStateOperations.Scrolling Or AnnFixedStateOperations.Zooming
End If
Next obj
End Sub
Products |
Support |
Feedback: FixedState Property (AnnObject) - Leadtools.Windows.Annotations |
Introduction |
Help Version 19.0.2017.3.22
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.