Click or drag to resize

WpfAnnotationCanvasLoad Method (String, AnnotationDataFormat)

Loads annotations from a file with the specified data format.

Namespace:  Atalasoft.Annotate.Wpf
Assembly:  Atalasoft.dotImage.Wpf (in Atalasoft.dotImage.Wpf.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public void Load(
	string fileName,
	AnnotationDataFormat format
)

Parameters

fileName
Type: SystemString
The filename where annotation data is stored.
format
Type: Atalasoft.AnnotateAnnotationDataFormat
The format of the annotation data.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown if any argument is null (Nothing in VB).
FileNotFoundExceptionThrown if the file does not exist.
SerializationExceptionThrown if there is an error during deserialization.
ArgumentExceptionThrown if the data format is unknown.
See Also