Click or drag to resize

AnnotateViewerOpen Method (Stream, Int32, Boolean)

This method will open an image from a viewer and optionally load the XMP annotations embedded in that image.

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(
	Stream stream,
	int frameIndex,
	bool loadAnnotations
)

Parameters

stream
Type: System.IOStream
A stream containing the image file.
frameIndex
Type: SystemInt32
A frame index to load, or -1 to load all frames.
loadAnnotations
Type: SystemBoolean
True to load XMP annotations embedded into the image file.
Exceptions
ExceptionCondition
ArgumentNullException Thrown if the stream is null (Nothing in VB).
ArgumentOutOfRangeException Thrown if the frameIndex is invalid for the image.
See Also