Back to Devexpress

TdxPDFDocument.Clear Method

vcl-dxpdfdocument-dot-tdxpdfdocument-6d7af5fe.md

latest991 B
Original Source

TdxPDFDocument.Clear Method

Clears the PDF document container.

Declaration

delphi
procedure Clear;

Remarks

Call the Clear procedure to close the loaded PDF document.

A Clear procedure call raises the OnUnloaded event and resets the Modified property to False.

Note

Unlike the PDF Viewer control’s Clear procedure, the PDF Document container’s Clear procedure does not destroy the PDF document container.

See Also

TdxPDFCustomViewer.ClearViewStateHistory

TdxPDFDocument Class

TdxPDFDocument Members

dxPDFDocument Unit