Click or drag to resize

Workspace.Open 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.5.0.0.0.156 (.NET 4.6.2, x86)
Syntax
public void Open(
	string fileName,
	int frameIndex
)

Parameters

fileName
Type: System.String
The path of the file to open.
frameIndex
Type: System.Int32
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