Saves the annotation objects to a disk file.
public void Save(string fileName,Leadtools.Annotations.AnnContainer container,Leadtools.Annotations.AnnCodecsFormat format,int page,Leadtools.Annotations.AnnCodecsSavePageMode pageMode)
Public Overloads Sub Save( _ByVal fileName As String, _ByVal container As Leadtools.Annotations.AnnContainer, _ByVal format As Leadtools.Annotations.AnnCodecsFormat, _ByVal page As Integer, _ByVal pageMode As Leadtools.Annotations.AnnCodecsSavePageMode _)
public:void Save(String^ fileName,Leadtools.Annotations.AnnContainer^ container,Leadtools.Annotations.AnnCodecsFormat format,int page,Leadtools.Annotations.AnnCodecsSavePageMode pageMode)
fileName
The output file name.
container
An AnnContainer containing the objects to be saved.
format
An AnnCodecsFormat value that specifies the annotation format to use when saving.
page
1-based index of the page to be saved.
pageMode
A value that indicates how to handle the page when saving to a multi-page file.
pageMode
A value that indicates how to handle the page when saving to a multi-page file.
| 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. |
To save multiple containers to a multi-page file using one method, use Save(string, AnnContainer[], AnnCodecsFormat).
For more information, refer to Annotation Files (Deprecated).
For an example, refer to AnnCodecs.
|
Products |
Support |
Feedback: Save(String,AnnContainer,AnnCodecsFormat,Int32,AnnCodecsSavePageMode) Method - Leadtools.Annotations |
Introduction |
Help Version 19.0.2017.6.20
|

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
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.