LEADTOOLS Annotations (Leadtools.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
AnnProtractorObject Constructor(SerializationInfo,StreamingContext)
See Also 
Leadtools.Annotations Namespace > AnnProtractorObject Class > AnnProtractorObject Constructor : AnnProtractorObject Constructor(SerializationInfo,StreamingContext)



info
The data needed to serialize or deserialize an object.
context
The source and destination of a given serialized stream.

The AnnProtractorObject Constructor(SerializationInfo,StreamingContext) is available in LEADTOOLS Document and Medical Imaging toolkits.

This constructor is required by System.Runtime.Serialization.ISerializable.

Syntax

Visual Basic (Declaration) 
Protected Function New( _
   ByVal info As SerializationInfo, _
   ByVal context As StreamingContext _
)
Visual Basic (Usage)Copy Code
Dim info As SerializationInfo
Dim context As StreamingContext
 
Dim instance As New AnnProtractorObject(info, context)
C# 
protected AnnProtractorObject( 
   SerializationInfo info,
   StreamingContext context
)
C++/CLI 
protected:
AnnProtractorObject( 
   SerializationInfo^ info,
   StreamingContext context
)

Parameters

info
The data needed to serialize or deserialize an object.
context
The source and destination of a given serialized stream.

Remarks

The annotation class library uses standard .NET serialization to perform various tasks such as fast undo/redo buffers and file load/save.

This member supports the Annotation class library infrastructure and is not intended to be used directly from your code. For more information refer to the System.Runtime.Serialization.ISerializable interface.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features