Click or drag to resize

WorkspaceOpen Method (String, Int32)

Decodes an image from a file specifying the frame index of a multipaged file, and sets it to the current image.

Namespace:  Atalasoft.Imaging
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public void Open(
	string fileName,
	int frameIndex
)

Parameters

fileName
Type: SystemString
The path of the file to open.
frameIndex
Type: SystemInt32
If the image contains multiple frames, this is the zero based index to load.
Remarks
Opening an image with this method when the Workspace is in Asynchronous mode will add this operation to the ProcessQueue and open Asynchronously.
See Also