Back to Devexpress

dxGetScaleFactorForInterface(IUnknown) Method

vcl-dxdpiawareutils-dot-dxgetscalefactorforinterface-x28-4f7542aa-x29.md

latest899 B
Original Source

dxGetScaleFactorForInterface(IUnknown) Method

Returns the specified component’s scale factor.

Declaration

delphi
function dxGetScaleFactorForInterface(const AOwner: IUnknown): TdxScaleFactor;

Parameters

NameType
AOwnerIUnknown

Returns

Type
TdxScaleFactor

Remarks

This global function works similar to dxGetScaleFactor. Unlike it, the dxGetScaleFactorForInterface function accepts an interface to the component instead of reference (in Delphi) or pointer (in C++Builder).

See Also

dxDPIAwareUtils.dxGetScaleFactorForCanvas

dxDPIAwareUtils Unit