Called by the state annotation rendering engine to remove the element for this object.
public virtual void RemoveObject(
Leadtools.Annotations.Core.AnnObject annObject
)
Public Overridable Sub RemoveObject( _
ByVal annObject As Leadtools.Annotations.Core.AnnObject _
)
public virtual void RemoveObject(
Leadtools.Annotations.Core.AnnObject annObject
)
- (void)removeObject:(LTAnnObject *)annObject
public void removeObject(AnnObject annObject)
function Leadtools.Annotations.Rendering.AnnObjectRenderer.RemoveObject(
annObject
)
annObject
The annotation object being removed.
This method should be implemented by state renderers to add the equivalent element for the annotation object.
The rendering engine will call AddObject when the annotation object is first rendered to a container. The object renderer should create the equivalent state element (such as an SVG or XAML element) for the object at this point. It is recommended to use AnnObject.StateId to store the state (or element) ID at this point inside the object.
The engine will then call Render every time the object is changed. The object renderer can obtain the equivalent element using StateId and update it at this point.
When an annotation object is removed from the container, the rendering engine will call RemoveObject. The object renderer must then remove the object state (element) using StateId.
Implement this method only when you have a state rendering engine, such as SVG or XAML renderers. In stateless rendering engines, such as GDI+, you should implement this method but leave it empty.
For an example, refer to Implementing XAML-based AnnObjectRenderer in WinRT (Windows Store).
Products |
Support |
Feedback: RemoveObject Method (AnnObjectRenderer) - Leadtools.Annotations.Rendering |
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.