Click or drag to resize

WorkspaceViewerOpen Method (Stream, Int32)

Loads an image from a stream into the WorkspaceViewer specifying the frame to load.

Namespace:  Atalasoft.Imaging.WinControls
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
)

Parameters

stream
Type: System.IOStream
A stream containing the image data.
frameIndex
Type: SystemInt32
A zero-based index of the frame to load when the image is a multi-framed format such as TIFF. Set this to -1 to load all of the frames.
See Also