THPDFViewer ResetView Method

Restores the default presentation state without unloading the document or changing the current page

Declarations

procedure THPDFViewer.ResetView;
procedure THPDFViewerModel.ResetView;

Reset state

Update batching

THPDFViewerModel.BeginUpdate and EndUpdate delimit nested state batches while UpdateCount reports the active depth

The Viewer defers rendering until the outermost batch ends while individual state events remain available to model observers

Actions

Example

PDFViewer.ResetView;