Click or drag to resize

ThumbnailImageViewerSynchronizerOpen Method (Stream, ThumbnailCaptionRequestEventHandler)

Opens all pages from a stream and gets the caption and tooltip from a 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(
	Stream stream,
	ThumbnailCaptionRequestEventHandler captionRequestHandler
)

Parameters

stream
Type: System.IOStream
A stream containing the image. This stream must be seekable.
captionRequestHandler
Type: Atalasoft.Imaging.WinControlsThumbnailCaptionRequestEventHandler
A ThumbnailCaptionRequestEventHandler to call when a caption and/or tooltip is needed for a thumbnail.
Exceptions
ExceptionCondition
ArgumentNullException Thrown if the stream is null (Nothing in VB).
IOException Thrown if the stream is not seekable or does not have read access.
See Also