The TOKOPEN_DOCTYPE object defines the properties of each document type.
TOKOPEN_DOCTYPE
docclass as TOKOPEN_DOCCLASS
Read Only, indicates the type of document (application, image, folder etc...)
DefaultMedia As Long
Indicates the default storage location to be used for saving documents.
AlternateMedia As Long
Indicates the default storage location to be used for saving MetaData.
ShortHandName As String
Name the users see for the document type, i.e. 'Invoice'
Extension As String
File extension used by document type, i.e. '.doc'
DoctypeName As String
Long term for the document type, i.e. 'Suppliers Invoices'
DoctypeNum As Long
Unique document type identifier used in the Database for this doctype.
Colour As Long
Indicates what colour the document types are displayed as in TokOpen. RGB.
LossyCompression As Long
The compression factor 0..255 for Jpeg images (only relevant for images).
Properties As Long
A bit field indicating document type properties.
Currently bit 0 indicates ReadOnly by default.
Document_Templage As String
Full UNC path to any template used for Application document types.
Media2Write2 As Long
The curent storage location to be used for writing docs of this type.
See Also:-
Example Code :-