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