←Select platform

SerializeObject Event

Summary

Event that triggers when an annotation object is being saved.

Syntax
C#
VB
Objective-C
C++
Java
public event EventHandler<AnnSerializeObjectEventArgs> SerializeObject 
Public Event SerializeObject As EventHandler(Of AnnSerializeObjectEventArgs) 
@property (nonatomic,assign) id<LTAnnSerializeObjectDelegate> delegate; 
public void addSerializeObjectListener(AnnSerializeObjectListener listener) 
public void removeSerializeObjectListener(AnnSerializeObjectListener listener) 
public:  
   event EventHandler<AnnSerializeObjectEventArgs^>^ SerializeObject 

Event Data

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.

PropertyDescription
AnnObject Gets or sets the annotation object being loaded or saved.

Remarks

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.

Example

For an example, refer to AnnSerializeOptions

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Engine Assembly