DocumentViewerIsThumbnailVisible Method (Thumbnail, Boolean) |
Returns a value indicating whether the specified thumbnail is currently visible.
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 bool IsThumbnailVisible(
Thumbnail thumbnail,
bool requireFullVisibility
)
Public Function IsThumbnailVisible (
thumbnail As Thumbnail,
requireFullVisibility As Boolean
) As Boolean
Parameters
- thumbnail
- Type: Atalasoft.Imaging.WinControlsThumbnail
The thumbnail to validate. - requireFullVisibility
- Type: SystemBoolean
True if the entire thumbnail must be visible.
Return Value
Type:
BooleanTrue if the thumbnail is visible.
Exceptions Exception | Condition |
---|
ArgumentException | Thrown if the thumbnail argument is null (Nothing in VB). |
| Thrown if the thumbnail is not hosted in the viewer. |
See Also