Click or drag to resize

AnnotateViewerOpen Method (String, Int32, Boolean)

This method will open an image from a filename and optionally load embedded XMP annotations.

Namespace:  Atalasoft.Annotate.UI
Assembly:  Atalasoft.dotImage.WinControls (in Atalasoft.dotImage.WinControls.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public void Open(
	string fileName,
	int frameIndex,
	bool loadAnnotations
)

Parameters

fileName
Type: SystemString
The full path and filename of the image to open.
frameIndex
Type: SystemInt32
The frame index to load, or -1 to load all frames.
loadAnnotations
Type: SystemBoolean
True to load embedded XMP annotations.
Exceptions
ExceptionCondition
ArgumentNullException Thrown if the fileName is null (Nothing in VB).
FileNotFoundException Thrown if the fileName cannot be found.
ArgumentOutOfRangeException Thrown if the frameIndex is invalid for the image.
See Also