Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

dxCheckDPIValue(Integer) Method

Clamps the specified DPI value within the supported interval.

#Declaration

Delphi
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