CaptureCurrentView

Viewer interaction, rendering and printing

Description

Renders exactly the current client viewport, including persistent overlays such as highlight regions, selections, search-hit bars and form field backdrops, into a new bitmap the caller owns. The capture does not change scroll position, page or zoom and is implemented on top of

CaptureRegion

Syntax

Delphi

Function TPDFlibViewer.CaptureCurrentView: TBitmap;

Return values

TBitmapA new 32 bpp bitmap of viewport size, filled with the control colour where no page shows; the caller must free it

See also

TPDFlibViewer, CaptureRegion, EffectiveZoomPercent