Event that triggers when an annotation object is being saved.
public event EventHandler<AnnSerializeObjectEventArgs> SerializeObject
Public Event SerializeObject As EventHandler(Of AnnSerializeObjectEventArgs)
public event EventHandler<AnnSerializeObjectEventArgs> SerializeObject
@property (nonatomic,assign) id<LTAnnSerializeObjectDelegate> delegate;
public void addSerializeObjectListener(AnnSerializeObjectListener listener)
public void removeSerializeObjectListener(AnnSerializeObjectListener listener)
add_SerializeObject(function(sender, e))
remove_SerializeObject(function(sender, e))
public:
event EventHandler<AnnSerializeObjectEventArgs^>^ SerializeObject
The event handler receives an argument of type AnnSerializeObjectEventArgs containing data related to this event. The following AnnSerializeObjectEventArgs properties provide information specific to this event.
Property | Description |
---|---|
AnnObject | Gets or sets the annotation object being loaded or saved. |
Error | Gets the error that has occurred during loading or saving annotation objects. |
SkipObject | Gets or sets a value that indicate whether to skip loading or saving an annotation object. |
TypeName | Gets the type name of the annotation object being loaded or saved. |
AnnSerializeObjectEventArgs This event will trigger once for each annotation object being saved with the AnnSerializeObjectEventArgs event data members containing the following:
Member | Description |
---|---|
TypeName |
The type name of the AnnObject being saved. |
AnnObject |
The AnnObject being saved. |
SkipObject |
Set to false. You can change this value to true to skip saving this object and continue to the next. |
For an example, refer to AnnSerializeOptions
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