AnnotateViewerSave Method (String, IAnnotationEncoder, Int32, Boolean) |
Saves an image to a file and optionally stores annotation data embedded as XMP into the file.
Namespace:
Atalasoft.Annotate.UI
Assembly:
Atalasoft.dotImage.WinControls (in Atalasoft.dotImage.WinControls.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public void Save(
string fileName,
IAnnotationEncoder encoder,
int frameIndex,
bool saveAnnotations
)
Public Sub Save (
fileName As String,
encoder As IAnnotationEncoder,
frameIndex As Integer,
saveAnnotations As Boolean
)
Parameters
- fileName
- Type: SystemString
The filename for this image. - encoder
- Type: Atalasoft.Imaging.CodecIAnnotationEncoder
An image encoder implementing the IAnnotationEncoder interface. Currently
this is only supported by the JpegEncoder and TiffEncoder. - frameIndex
- Type: SystemInt32
The frame index to save or -1 to save all frames. - saveAnnotations
- Type: SystemBoolean
True to save the annotations embedded as XMP data.
Exceptions See Also