Error processing SSI file
(Leadtools.Annotations.Core)

Show in webframe

Save Method






The AnnContainer to be saved. This value must not be null.
This must be AnnFormat.Annotations.
Optional existing data. Can be null to create new annotation data; otherwise, it must contain valid data previously saved using this method.
The page number on which the data is placed.
Saves an annotation container to XML data.
Syntax
'Declaration
 
Public Function Save( _
   ByVal container As AnnContainer, _
   ByVal format As AnnFormat, _
   ByVal xmlData As String, _
   ByVal savePageNumber As Integer _
) As String
-(NSString*) saveContainer:(LTAnnContainer*)container
format:(LTAnnFormat) format
  data:(NSString*) xmlData
Number:(NSUInteger) savePageNumber;
            
 function Leadtools.Annotations.Core.AnnCodecs.Save( 
   container ,
   format ,
   xmlData ,
   savePageNumber 
)

Parameters

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.

Return Value

The XML string of the annotations that were saved.
Remarks

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.

Requirements

Target Platforms

See Also

Reference

AnnCodecs Class
AnnCodecs Members

Error processing SSI file
   Leadtools.Annotations.Core requires a Document or Medical toolkit license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features