[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
Class TPrinter
--------------------------------------------------------------------------------
DATA
--------------------------------------------------------------------------------
hDC Handle of the Device Context of the Printer
hDCOut Handle of the current metafile in use if file output specified
aMeta Arrays of metafiles names generated in disk
cDevice The name of the output device
cDriver The name of the printer driver in use
cPort The name of the port used
cDir The path for the metafiles storage. By default TEMP
nPage The page currently printed
lMeta If the output has to go to metafiles in disk
METHODS
--------------------------------------------------------------------------------
New Constructor of the Printer Object
SayBitmap Displays a bitmap
StartPage Starts printing a new page
EndPage Ends the current printed page
End End Printing
Say writes text on the Printer
SetPos Changes the drawing position
Line Draws a line
Box Draws a box
nHeight Retrieves the length dimension of the printer
nVertRes
nHorzRes
nVertSize
nHorzSize
nLogPixelsX
nLogPixelsY
SetPixelMode To work with pixel dimensions
SetTwipsMode
SetLoInchMode
SetHiInchMode
SetLoMetricMode
SetHiMetricMode
SetIsotropicMode
SetAnisotropicMode
SetWindowExt Set the window extension represented
SetViewPortExt Set the dimensions of the view port to be represented
GetTextWidth Returns the width of the characters with the currently font
GetTextHeight Returns the height of the characters with the currently font
FillRect Fills a rect with a specified color
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson