rvico TRichView Reference | TRVPrint


Top  Previous  Next

Prepare document to formatting

function FormatPages(PrintOptions:TRVDisplayOptions): Integer;

Please use rvdoAll constant for PrintOptions parameter:


Document must be assigned to this TRVPrint object using AssignSource method before calling this method.

This method allocates some temporal memory what is used when drawing preview and printing. When you finish, call Clear to release this memory.

Note for C++Builder users:

C++Builder (at least version 5) incorrectly translates rvdoAll constant.

The recommended call is


(i.e. initialization with the empty set; this parameter is for compatibility, and it is not used any more)

See also methods:


See also events:


TRichView © trichview.com