| Overload | Description |
|---|---|
| Save(String,AnnContainer,AnnCodecsFormat,Int32,AnnCodecsSavePageMode) | Saves the annotation objects to a disk file. |
| Save(Stream,AnnContainer,AnnCodecsFormat,Int32,AnnCodecsSavePageMode) | Saves the annotation objects to a stream. |
For an example, refer to AnnCodecs.
pageMode can be one of the following:
| 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. |
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family