Therefore API > API Reference > Classes > TheCategoryField > Methods
SetImageDocNo
Sets the document number of the image template (Only applies to fields where FieldType is ImageField) and checks if it is valid.
Namespace: Therefore.API
Parameters
nDocNo
The document number of a document in the System\Templates category where the template type is set to "Index Dialog Image"
pServer
A valid and connected TheServer object
Return Value
None.
TheCategoryField class
TheCategoryField.ImageDocNo property
TheCategoryField.FieldType property
TheCategoryFieldType enumeration