Click or drag to resize

DocumentViewerOpen Method (String, ThumbnailCaptionRequestEventHandler)

Opens all pages in an image and gets the caption and tooltip from the specified ThumbnailCaptionRequestEventHandler.

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(
	string fileName,
	ThumbnailCaptionRequestEventHandler captionRequestHandler
)

Parameters

fileName
Type: SystemString
The filename of the image.
captionRequestHandler
Type: Atalasoft.Imaging.WinControlsThumbnailCaptionRequestEventHandler
A ThumbnailCaptionRequestEventHandler that will be used to request the caption and tooltip for each thumbnail.
Exceptions
ExceptionCondition
ArgumentNullException Thrown if the filename is null (Nothing in VB) or an empty string.
FileNotFoundException Thrown if the file cannot be found.
See Also