Hide

SftPrintPreview/OCX 1.0 - ActiveX Print Preview Control

Display
Print

RichEdit Control

SftPrintPreview/OCX has built-in support for the standard Windows RichEdit control, also known as RichTextBox control, allowing print preview and printing of its contents.

An application uses the ContentProvider property to define the RichEdit control window. SftPrintPreview/OCX automatically formats and renders all pages. The RenderContent event is not used.

The PreviewRichEdit sample demonstrates how a RichEdit control is used with SftPrintPreview/OCX. The source code for this sample is available in the product directory \Program Files\Softelvdm\SftPrintPreview OCX 1.0\Samples.

The contents of the RichEdit control are displayed across the full width of the page, with all formatting defined using the RichEdit control's API functions. The ContentSizing property has no effect, when previewing/printing a RichEdit control.

When previewing/printing a RichEdit control, only TrueType or ClearType fonts should be used, to insure proper scaling and resizing of all generated output.


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.