(Leadtools.Annotations.Core)

SkipObject Property

Show in webframe





Gets or sets a value that indicate whether to skip loading or saving an annotation object.
Syntax
public bool SkipObject {get; set;}
Public Property SkipObject As Boolean
public bool SkipObject {get; set;}
@property (nonatomic,assign) BOOL skipObject;
public boolean getSkipObject()
public void setSkipObject(boolean value)
            
 
get_SkipObject();
set_SkipObject(value);
Object.defineProperty('SkipObject');

Property Value

true to skip loading or saving an annotation object; otherwise, false. The default value is false.
Remarks

If this object is triggered with the AnnDeserializeOptions.DeserializeObject event, then you can set the value of SkipObject to true. This will instruct AnnCodecs to skip this object and continue to the next. This is useful if in scenarios when you do not want to load certain object types or objects with certain properties.

If this object is trigged with the AnnDeserializeOptions.DeserializeObjectError event, then you can set the value of this property 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 you can set the value of this property to true to skip loading the object in AnnObject with type in TypeName and continue to the next.

Example

For an example, refer to AnnSerializeOptions and AnnDeserializeOptions.

Requirements

Target Platforms

See Also

Reference

AnnSerializeObjectEventArgs Class
AnnSerializeObjectEventArgs Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.