←Select platform

SkipObject Property

Summary

Gets or sets a value that indicate whether to skip loading or saving an annotation object.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
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');  
public:  
   property bool SkipObject 
   { 
      bool get() 
      void set(bool value) 
   } 

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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Core Assembly