TSRichViewEdit.PrintRange

<< Click to display table of contents >>

TSRichViewEdit.PrintRange

Prints all pages from StartPageNo to EndPageNo.

procedure PrintRange(StartPageNo, EndPageNo: Integer;

  MetafileCompatibility: Boolean=False;

  NoMetafiles: Boolean = False);

This method takes MinPrintedItemNo and MaxPrintedItemNo properties into account.

The printer is defined in Printer.PrinterIndex.

If MetafileCompatibility=False, printing output may be incompatible with metafiles; the component may use font glyph indexes instead of character codes when printing text. Such metafiles will be displayed incorrectly on computers without this font or with another version of this font.

If MetafileCompatibility=True, the component always uses character codes when printing text, to create metafile-compatible output.

If NoMetafiles = False, metafiles are drawn as they are. If True, metafiles are drawn as bitmaps. This option is useful when drawing on canvases of components (such as PDF generators) that do not handle embedded metafiles properly.

See also:

PrintAll

PrintCurrent

TSRVPrint component

TSRVPrint.MetafileCompatibility

TRVAControlPanel.MetafileCompatibility (in the RichViewActions help file)