CRichEditCtx.DisplayBandmethod
Displays a portion of the contents of a rich edit control, as previously formatted for a device using the EM_FORMATRANGE message.
Syntax
FUNCTION DisplayBand (BYREF rc AS .RECT) AS BOOLEAN
Parameters
| Name | Description | |
|---|---|---|
rc | A RECT structure specifying the display area of the device. |
Return value
If the operation succeeds, the return value is TRUE. If the operation fails, the return value is FALSE.
Description
Displays a portion of the contents of a rich edit control, as previously formatted for a device using the FormatRange method.
Remarks
Text and Component Object Model (COM) objects are clipped by the rectangle. The application does not need to set the clipping region.
Banding is the process by which a single page of output is generated using one or more separate rectangles, or bands. When all bands are placed on the page, a complete image results. This approach is often used by raster printers that do not have sufficient memory or ability to image a full page at one time. Banding devices include most dot matrix printers as well as some laser printers.
Reference
- Defined in AfxNova/CRichEditCtx.inc:1968
- Documented in Windows/WIndows Controls/RichEdit/CRichEditCtx Class.md
- Topic: CRichEditCtx Class