Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.5.10
|
Leadtools.Windows.Annotations Namespace > AnnCodecs Class > Save Method : Save(String,AnnContainer,AnnCodecsFormat,Int32,AnnCodecsSavePageMode) Method |
public void Save( string fileName, AnnContainer container, AnnCodecsFormat format, int page, AnnCodecsSavePageMode pageMode )
'Declaration Public Overloads Sub Save( _ ByVal fileName As String, _ ByVal container As AnnContainer, _ ByVal format As AnnCodecsFormat, _ ByVal page As Integer, _ ByVal pageMode As AnnCodecsSavePageMode _ )
'Usage Dim instance As AnnCodecs Dim fileName As String Dim container As AnnContainer Dim format As AnnCodecsFormat Dim page As Integer Dim pageMode As AnnCodecsSavePageMode instance.Save(fileName, container, format, page, pageMode)
public: void Save( String^ fileName, AnnContainer^ container, AnnCodecsFormat format, int page, AnnCodecsSavePageMode pageMode )
Mode | Description |
---|---|
AnnCodecsSavePageMode.Overwrite | fileName will be overwritten if it exists and all previous information will be lost. Value of page must be 1 or -1 (for appending the objects as last page). |
AnnCodecsSavePageMode.Insert | fileName must be a valid file with valid annotation pages. Value of page must be between 1 and total number of pages in the file. A value of -1 will append the objects as last page. |
AnnCodecsSavePageMode.Replace | fileName must be a valid file with valid annotation pages. Value of page must be between 1 and total number of pages in the file. |
For C#/VB examples, refer to AnnCodecs.