Saves an annotation container to XML data.
-(NSString*) saveContainer:(LTAnnContainer*)container
format:(LTAnnFormat) format
data:(NSString*) xmlData
Number:(NSUInteger) savePageNumber;
container
The AnnContainer to be saved. This value must not be null.
format
This must be AnnFormat.Annotations.
xmlData
Optional existing data. Can be null to create new annotation data; otherwise, it must contain valid data previously saved using this method.
savePageNumber
The page number on which the data is placed.
The XML string of the annotations that were saved.
If _xmlData_ is not null, then it must contain valid LEADTOOLS annotation data previously saved using Save(String,AnnContainer,AnnFormat,Int32). This method inserts or replaces the page specified in _savePageNumber_ and returns the updated data.
If _xmlData_ is null, then this method will create a new LEADTOOLS annotation data and return it.
If the value of _savePageNumber_ is 0, the page number to use when saving is obtained from the PageNumber property of _container_; otherwise, the page number in the _savePageNumber_ parameter will be used when saving.
LEADTOOLS supports saving multiple containers in the same file, each with a unique page number. Use Load with the page number to load the desired page.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.