Error processing SSI file
(Leadtools.Annotations.Core)

Show in webframe

AnnObject Property (AnnSerializeObjectEventArgs)






Gets or sets the annotation object being loaded or saved.
Syntax
public AnnObject AnnObject {get; set;}
'Declaration
 
Public Property AnnObject As AnnObject
public AnnObject AnnObject {get; set;}
@property (nonatomic) LTAnnObject* annObject;
public AnnObject getAnnObject()
public void setAnnObject(AnnObject object)
            
 
get_AnnObject();
set_AnnObject(value);
Object.defineProperty('AnnObject');

Property Value

The annotation object being loaded or saved.
Remarks

If this object is triggered with the AnnDeserializeOptions.DeserializeObject event, then the value of this property contains null and the object type name being saved is in TypeName. You have the following course of action:

If this object is trigged with the AnnDeserializeOptions.DeserializeObjectError event, then the value of this property is null and means AnnCodecs could not create the instance of an object of type TypeName. If it is possible to create AnnObject yourself in this situation, then set its instance into AnnObject to allow the codecs object to continue loading its properties. Another option is to set SkipObject to true to instruct AnnCodecs to ignore the error, skip loading this object and continue to the next.

If this object is trigged with the AnnSerializeOptions.SerializeObject event, then the value of this property is null and is not used.

Example

For an example, refer to AnnSerializeOptions and AnnDeserializeOptions.

Requirements

Target Platforms

See Also

Reference

AnnSerializeObjectEventArgs Class
AnnSerializeObjectEventArgs Members

Error processing SSI file
   Leadtools.Annotations.Core requires a Document or Medical toolkit license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features