Click or drag to resize

HostUtilsGetPrinterDPI Method

Get the output resolution for a given printer.

Namespace:  Rhino.Runtime
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 8.2
Syntax
public static double GetPrinterDPI(
	string printerName,
	bool horizontal
)

Parameters

printerName
Type: SystemString

[Missing <param name="printerName"/> documentation for "M:Rhino.Runtime.HostUtils.GetPrinterDPI(System.String,System.Boolean)"]

horizontal
Type: SystemBoolean
get the horizontal or vertical resolution

Return Value

Type: Double
Dot per inch resolution for a given printer on success. 0 if an error occurred
See Also