Usage
LoadWangAnnotationsFromTIFF (TiffFileName As String, PageNumber As Long, TagNumber As Long, TiffDllName As String) As Boolean
Description
Loads Wang Annotations from a TIFF file, converting it to a Black Ice annotation object. Wang annotations are stored in a separate TIFF tag for each page. The LoadWangAnnotationsFromTIFF function can load the Wang annotations from a single page, or all pages in the TIFF file.
Parameters
TiffFileName |
String |
Full path to the TIFF file to load the Wang annotations from.
|
PageNumber |
Long |
The zero-based index of the page to load the annotations from. If set to -1, the annotations are loaded from all pages.
|
TagNumber |
Long |
The TIFF tag ID, to load the annotations from. If set to 0, the default value of 32932 is used.
|
TiffDllName |
String |
Name or full path of the BiTiff.dll. If only the name of the dll is provided without the full path, the BiAnno dll tries to load the BiTiff.dll from the directory of the BiAnno.dll. |
Return value
True if successful, otherwise False.
Programming Notes
Currently the following Wang annotation types are supported:
· Freehand Line
· Highlighter
· Straight Line
· Hollow Rectangle
· Filled Rectangle
· Typed Text
· Attach-a-note
· Text from file
· Rubber Stamps (Converted to a Black Ice Image or Text annotation based on the type)
· Initials (Converted to a Black Ice Text annotation)
· Hollow Polygon
· Filled Polygon
· Auto Polygon (Converted to a regular Polygon type)
Code Example
None