dxGetPenData(HPEN,TLogPen) Method
Returns settings of a pen object identified by its handle.
Declaration
function dxGetPenData(APenHandle: HPEN; out ALogPen: TLogPen): Boolean;
Parameters
Name | Type |
---|---|
APenHandle | HPEN |
ALogPen | TLogPen |
Returns
Type |
---|
Boolean |
Remarks
Call this function to obtain the style, width, and color of the pen object whose handle is passed as the APenHandle parameter. The function stores the pen settings to the ALogPen parameter and returns True if these settings are found. Otherwise, False is returned.
See Also