Extracts the currently printing rectangle from the SAM_Print message's lParam parameter.

Namespace: PPJ.Runtime
Assembly: PPJ.Runtime.2 (in PPJ.Runtime.2.dll) Version: 2.0.1044.0 (2.0.1044.5276)

Syntax

C#
public static SalBoolean PrtExtractRect(
	SalNumber nMylParam,
	ref SalNumber nLeft,
	ref SalNumber nTop,
	ref SalNumber nRight,
	ref SalNumber nBottom
)

Parameters

nMylParam
Type: PPJ.Runtime..::..SalNumber
The SAM_Print message's lParam parameter.
nLeft
Type: PPJ.Runtime..::..SalNumber%
The position on the X axis of the rectangle's left side.
nTop
Type: PPJ.Runtime..::..SalNumber%
The position on the Y axis of the top of the rectangle.
nRight
Type: PPJ.Runtime..::..SalNumber%
The position on the X axis of the rectangle's right side.
nBottom
Type: PPJ.Runtime..::..SalNumber%
The position on the Y axis of the bottom of the rectangle.

Return Value

bOk

See Also