AtalaAnnotationViewerSave Method (Stream, ImageEncoder, ProgressEventHandler) |
Namespace:
Atalasoft.Annotate.Wpf
Assembly:
Atalasoft.dotImage.Wpf (in Atalasoft.dotImage.Wpf.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public void Save(
Stream stream,
ImageEncoder encoder,
ProgressEventHandler progress
)
Public Sub Save (
stream As Stream,
encoder As ImageEncoder,
progress As ProgressEventHandler
)
Parameters
- stream
- Type: System.IOStream
The stream where the image will be saved. - encoder
- Type: Atalasoft.Imaging.CodecImageEncoder
The encoder used to save the image. - progress
- Type: Atalasoft.ImagingProgressEventHandler
An event handler for progress notification.
Exceptions Exception | Condition |
---|
| Thrown if the stream or encoder argument is null (Nothing in VB). |
| Thrown if the stream does not have write access. |
Remarks Annotation data will automatically be embedded into the image when the
AutoSaveXmp and/or
AutoSaveWang properties are
true and a compatible
ImageEncoder is provided. XMP data is only supported in JPEG and TIFF files and
WANG is only supported in TIFF files.
See Also