Click or drag to resize

AtalaAnnotationViewer.Save 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: System.String
The filename of the image to create.
encoder
Type: Atalasoft.Imaging.Codec.ImageEncoder
The encoder used to save the image.
progress
Type: Atalasoft.Imaging.ProgressEventHandler
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