DocumentViewerAdd Method (String, ThumbnailCaptionRequestEventHandler) |
Namespace: Atalasoft.Imaging.WinControls
public void Add( string fileName, ThumbnailCaptionRequestEventHandler captionRequestHandler )
| Exception | Condition |
|---|---|
| ArgumentNullException | Thrown if the filename is null (Nothing in VB). |
| FileNotFoundException | Thrown if the file cannot be found. |