Class vdHandle
- Namespace
- VectorDraw.Professional.vdObjects
- Assembly
- VectorDraw.Professional.dll
Implements all functionality of the vdHandle object. It is a unique identifier for each vdObject in a vdDocument, and is used to reference objects in the document and to save them in files. Represents a 64-bit handle stored and manipulated as hexadecimal digits, provides conversion helpers to/from strings, bytes and numeric values, and implements serialization interfaces used by the VectorDraw serializer.
public sealed class vdHandle : BaseObject, IDisposable, IBaseObject, IVDSerialise, IFromString
- Inheritance
-
vdHandle
- Implements
- Inherited Members
Constructors
- vdHandle()
Initializes the vdHandle object with value 0.
- vdHandle(string)
Initializes the vdHandle object.
- vdHandle(ulong)
Initializes the vdHandle object.
Properties
- Value
Get the value of the handle.
Methods
- DeSerialize(DeSerializer, string, object)
This Function is called foreach field name of the vdHandle object when opening in vdml format.
- Equals(object)
Checks if an object is referenced equal to this object.
- Equals(vdHandle)
Checks if a vdHandle object is referenced equal to this object.
- FromString(string)
Converts a string to a int64 representation.This is used to convert handle strings when saving in xml format(version 6).
- GetHashCode()
Returns a 32-bit signed integer hash code for this object instance.
- InternalSetValue(ulong)
Sets the value of the vdHandle object
- Serialize(Serializer)
This Function is called when saving the vdHandle object to vdml format.
- SetValueFromString(string)
Sets the value of the vdHandle object from a string value.
- ToByteArray()
Converts the value of the handle to an array of bytes.
- ToDigits()
Converts the value of the handle to an array of characters.
- ToString()
Gets a System.String that represents the (handle) value of the vdHandle Object as Decimal value.
- ToString(Serializer)
Gets a System.String that represents the (handle) value of the vdHandle Object as Decimal value.
- ToStringValue()
Converts the value of the vdHandle object to a string as a Hexadecimal value.
- ValueFrom8Bytes(byte[])
Converts an array of 8 bytes to a handle value representation.
- ValueFromString(string)
Converts a string into a handle value.This is used for backward compatibility for saving in vdf format(version 5).
- ValueToString(ulong)
Converts an 64-bit unsigned integer value to a Hexadecimal string.
Operators
- operator ==(vdHandle, vdHandle)
Implements the == operator for two vdHandle objects.
- operator !=(vdHandle, vdHandle)
Implements the != operator.