Click or drag to resize

AtalaAnnotationViewerSave Method (String, ImageEncoder, ProgressEventHandler)

Saves the image along with annotations (if AutoSaveXmp or AutoSaveWang are true) using the specified ImageEncoder.

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
)

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