PrinterVectorOutput()
Syntax
VectorOutputID = PrinterVectorOutput([Unit])Description
Returns the OutputID of the current printer to be used with the StartVectorDrawing() function.
Parameters
Unit (optional) Specifies the unit used for measuring distances on the drawing output. The default unit for printer output is #PB_Unit_Point. #PB_Unit_Pixel : Values are measured in pixels (or dots in case of a printer) #PB_Unit_Point : Values are measured in points (1/72 inch) #PB_Unit_Inch : Values are measured in inches #PB_Unit_Millimeter: Values are measured in millimeters
Return value
The OutputID of the current printer to be used with the StartVectorDrawing() function.
Example
StartVectorDrawing(PrinterVectorOutput(#PB_Unit_Point)) ; do some drawing stuff here... StopVectorDrawing()
See Also
StartVectorDrawing(), PrinterOutput()
Supported OS
All