Image viewer control.
Object.defineProperty(DocumentViewerThumbnails.prototype, 'imageViewer',
get: function()
)
imageViewer: ImageViewer; // read-only
The ImageViewer control used to show the thumbnails of the document pages.
ImageViewer is initialized during CreateDocumentViewer when the value of DocumentViewerCreateOptions.ThumbnailsContainer is not null.
A new instance of ImageViewer is created and set in this property. The control is added as a child to DocumentViewerCreateOptions.ThumbnailsContainer and initialized as follows:
Member | Description |
---|---|
Set to a new instance of ImageViewerSelectItemsInteractiveMode to handle selection of the thumbnails using mouse, keyboard or touch. |
|
128 by 128 pixels (Default size of the thumbnails) |
|
1 |
|
White color |
|
10, 10, 10, 20 (more room at the bottom for the item text) |
|
Light blue color |
|
ImageViewer.Tag |
Set to the owner DocumentViewer. Be careful not to modify this value in your application. |
In addition to the above, the document viewer subscribes to the PostRenderItem event to render the the annotations for the pages used by Annotations on the thumbnails. and the SelectedItemsChanged event to handle the user clicking on a thumbnail and invoking DocumentViewer.GotoPage.
After CreateDocumentViewer returns, you can further customize or use this ImageViewer control as needed by your application.
DocumentViewerThumbnails Class
DocumentViewerThumbnails Members
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document