Click or drag to resize

AnnotateViewer.Open 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: System.String
The full path and filename of the image to open.
frameIndex
Type: System.Int32
The frame index to load, or -1 to load all frames.
loadAnnotations
Type: System.Boolean
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