Saves an annotation container to XML data.
public string Save(
Leadtools.Annotations.Core.AnnContainer container,
Leadtools.Annotations.Core.AnnFormat format,
string xmlData,
int savePageNumber
)
Public Overloads Function Save( _
ByVal container As Leadtools.Annotations.Core.AnnContainer, _
ByVal format As Leadtools.Annotations.Core.AnnFormat, _
ByVal xmlData As String, _
ByVal savePageNumber As Integer _
) As String
public String save(AnnContainer container, AnnFormat format, String xmlData, int savePageNumber)
container
The AnnContainer to be saved. This value must not be null.
format
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 to place the data.
An XML string of annotations that were saved.
If xmlData is not null, then it must contain valid LEADTOOLS annotation data previously saved with Save(string,anncontainer,annformat,int32). This method will insert or replace the page specified in savePageNumber and return the updated data.
If xmlData is null, then this method will create the 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 savePageNumber page number is used when saving.
LEADTOOLS supports saving multiple containers in the same file each with a unique page number. Use Load(string,int32) with the page number to load the desired page.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET