M-Files API 23.11.13135.0
SetFromOCR Method
DefaultProperty Object : SetFromOCR Method
The OCR zone for extracting the value.
If this parameter is True, values should be treated as item IDs instead of display names. Valid only if the property represents a lookup value.
If this parameter is True, a new value list item should be added if it is not found. Valid only if the property represents a lookup value.
Description
Sets the FromOCR data.
Syntax
Visual Basic
Public Sub SetFromOCR( _
   ByVal OCRZone As OCRZone, _
   ByVal TreatLookupAsID As Boolean, _
   ByVal AddVLItemIfNotFound As Boolean _
) 
Parameters
OCRZone
The OCR zone for extracting the value.
TreatLookupAsID
If this parameter is True, values should be treated as item IDs instead of display names. Valid only if the property represents a lookup value.
AddVLItemIfNotFound
If this parameter is True, a new value list item should be added if it is not found. Valid only if the property represents a lookup value.
See Also

DefaultProperty Object  | DefaultProperty Members