Appendix A: QPrinterInfo
Documentation component by D.Glodt (c)2002-2003 |
Appendix A: QPrinterInfo |
|
QPrinterInfo Component
QPrinterInfo is a component with more information about défault
printer.
QPrinterInfo Properties
QPrinterInfo Methods
Method |
Type |
Description |
Params |
|
|
|
|
|
Scale |
FUNCTION AS DOUBLE |
return the printer scale for image bitmap |
0 |
Dpi |
FUNCTION AS INTEGER |
return number of points by inch |
0 |
|
Ppm |
FUNCTION AS DOUBLE |
return number of pixels by millimeter |
0 |
|
MetricToPixel |
FUNCTION(mm as double) AS INTEGER |
return convert millimeters to pixels |
1 |
|
PixelToMetric |
FUNCTION(pixel&) AS DOUBLE |
return convert pixels en millimeters |
1 |
|
HorzPageSize |
FUNCTION AS INTEGER |
return page width to millimeters |
0 |
|
VertPageSize |
FUNCTION AS INTEGER |
return page height to millimeters |
0 |
|
PageWidth |
FUNCTION AS INTEGER |
return page width to pixels |
0 |
|
PageHeight |
FUNCTION AS INTEGER |
return page height to pixels |
0 |
|
PhWidth |
FUNCTION AS INTEGER |
return physical page width to pixels |
0 |
|
PhHeight |
FUNCTION AS INTEGER |
return physical page height to pixels |
0 |
|
PhHorz |
FUNCTION AS INTEGER |
return physical page width to millimeters |
|
|
PhVert |
FUNCTION AS INTEGER |
return physical page height to millimeters |
0 |
|
PhMarginX |
FUNCTION AS DOUBLE |
return physical margin x to millimeters |
0 |
|
PhMarginY |
FUNCTION AS DOUBLE |
return physical margin y to millimetres |
0 |
|
PhLeftMargin |
FUNCTION AS INTEGER |
return physical margin x to pixels |
0 |
|
PhTopMargin |
FUNCTION AS INTEGER |
return physical margin y to pixels |
0 |
|
QPrinterInfo Events
Event |
Type |
Occurs when... |
Params |
|
|
|
|
|
QPrinterInfo Exemples
|
|