Send Topic Feedback | See Object Hierarchy Chart
PC-DMIS 2023.2 Object Library
PCDLRN ActiveX DLL > Color Object : GetType Method

Long value specifying the Command Type ID or Color Section ID.

Long value specifying the second part of a 128 bit UID. UID2 is reserved for Command IDs that exists in the Toolkit environment. Since Toolkit command IDs use 128 bit values the only way to get at their data using automation is to supply two parameters. For typical automation uses (non Toolkit), you won't need this parameter and can simply supply a 0 value.

GetType Method
Description
Returns the Command Type or Color Section to which the color is associated.
Syntax
Visual Basic
Public Sub GetType( _
   ByRef UID1 As {Unrecognised type 21}, _
   ByRef UID2 As {Unrecognised type 21} _
) 
Parameters
UID1

Long value specifying the Command Type ID or Color Section ID.

UID2

Long value specifying the second part of a 128 bit UID. UID2 is reserved for Command IDs that exists in the Toolkit environment. Since Toolkit command IDs use 128 bit values the only way to get at their data using automation is to supply two parameters. For typical automation uses (non Toolkit), you won't need this parameter and can simply supply a 0 value.

See Also