描述
返回一个设备的肖像和景观方向之间的关系,在数量的程度,纵向方向是逆时针旋转,以产生景观方向.
FreeBASIC 语法
FUNCTION AfxGetPrinterOrientationDegrees ( _ BYREF wszPrinterName AS WSTRING _ ) AS LONG |
参数
wszPrinterName
打印机的名称.请注意,这是打印机的名称,而不是打印机驱动程序的名称.
返回值
返回值可以是以下之一:
0 No landscape orientation.
90 Portrait is rotated 90 degrees to produce landscape.
180 Portrait is rotated 180 degrees to produce landscape.
270 Portrait is rotated 270 degrees to produce landscape.
引用文件
AfxPrinter.inc