AtalaAnnotationViewerSave Method (String, 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(
string fileName,
ImageEncoder encoder,
ProgressEventHandler progress
)
Public Sub Save (
fileName As String,
encoder As ImageEncoder,
progress As ProgressEventHandler
)
Parameters
- fileName
- Type: SystemString
The filename of the image to create. - 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 fileName or encoder argument is null (Nothing in VB). |
| Thrown if the fileName argument is an empty string. |
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