RpPrinter Class

<< Click to Display Table of Contents >>

Navigation:  RpPrinter & PtrDevice Class Overview >

RpPrinter Class

Previous pageReturn to chapter overviewNext page

Purpose

This class is an enhanced sub-class of the PtrDevice class.  It provides an object wrapper around the most used Windows text output and drawing functions.

Class

CLASS RpPrinter inherit PtrDevice

Properties

AvgCharHeight                Access

AvgCharWidth                Access

BottomMargin                Access/Assign

LeftMargin                        Access/Assign

NextPRow                        Access

PCOL                        Access/Assign

PrintAreaLength                Access

PrintAreaWidth                Access

PROW                        Access/Assign

RightMargin                Access/Assign

TopMargin                        Access/Assign

UnitOfMeasure                Assign

Methods

_DrawBMP

_DrawRTF

_xLateHLogical2UnitofMeasure

_xLateHUnitofMeasure2Logical

_xLateVLogical2UnitofMeasure

_xLateVUnitofMeasure2Logical

DrawBmp

DrawEllipse

DrawLine

DrawRectangle

DrawRTF

DrawText

GetTextFace

GetTextLength

Init

SetFont

TextOut