AnnSave method (ILEADRasterAnnotation)
short AnnSave(BSTR pszFile, AnnFMTConstants iFormat, VARIANT_BOOL bSelected, SaveModifyConstants iModify, long lSavePage); | |
Overview |
Refer to Implementing Annotations. |
Remarks
(Document/Medical only) Saves the specified annotations in a file.
Annotation files can store multiple pages. This method saves annotations to an annotation file. It can also append, replace, or overwrite pages in an existing annotation file.
To overwrite an existing annotation file, pass SAVE_OVERWRITE for the iModify parameter (lSavePage will be ignored).
To add a page to the end of an annotation file, pass SAVE_APPEND for the iModify argument (lSavePage will be ignored).
To replace a page in an annotation file, pass SAVE_REPLACE and set lSavePage to the page number to be replaced. Note that page numbers are 1-based. Therefore, the first page is page 1, the second page is page 2, etc.
To insert a new page, pass SAVE_INSERT and set lSavePage. The new page will be inserted BEFORE the page specified in lSavePage.
You can also save annotations in a Wang-compatible TIFF tag. For more information concerning this option, refer to AnnSaveTag method.
See Also
Elements |
|
Topics |
|
|