Leadtools.Annotations.Core Namespace > AnnCodecs Class > Save Method : Save(AnnContainer,AnnFormat,String,Int32) Method |
public string Save( AnnContainer container, AnnFormat format, string xmlData, int savePageNumber )
Public Overloads Function Save( _ ByVal container As AnnContainer, _ ByVal format As AnnFormat, _ ByVal xmlData As String, _ ByVal savePageNumber As Integer _ ) As String
public string Save( AnnContainer container, AnnFormat format, string xmlData, int savePageNumber )
public String save(AnnContainer container, AnnFormat format, String xmlData, int savePageNumber)
function Leadtools.Annotations.Core.AnnCodecs.Save(AnnContainer,AnnFormat,String,Int32)( container , format , xmlData , savePageNumber )
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.