THPDFViewerSnapshotFormat Type
Selects the image format used when the viewer model saves the current page as a snapshot
Declaration
THPDFViewerSnapshotFormat= (vsfBMP, vsfJPEG, vsfPNG);
Unit
HPDFViewerModel
Values
| Value | Meaning |
|---|---|
vsfBMP |
Windows bitmap, written directly from the rendered snapshot |
vsfJPEG |
JPEG encoded with the configured compression quality |
vsfPNG |
PNG encoded from the rendered snapshot |
Usage notes
- Used by the snapshot save methods of
THPDFViewerModel; JPEG snapshots take a quality value clamped to the range 1 to 100 - The
SaveCurrentPageSnapshotToBMPconvenience wrapper passesvsfBMP