dxCheckDPIValue(Integer) Method
Clamps the specified DPI value within the supported interval.
Declaration
function dxCheckDPIValue(AValue: Integer): Integer;
Parameters
Name | Type |
---|---|
AValue | Integer |
Returns
Type |
---|
Integer |
Remarks
Call this global function to ensure that the DPI value passed as the AValue parameter is within the supported range. The dxCheckDPIValue function returns the DPI value clamped within the range between the dxMinDPI and dxMaxDPI global constant values.
This function is called internally by the TdxSmartGlyph.SourceDPI and TcxBaseImageList.SourceDPI property setters.
See Also