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

TcxScalableComponent.ScaleForPPI(Integer) Method

Scales the component according to the specified DPI value.

#Declaration

Delphi
procedure ScaleForPPI(TargetPPI: Integer);

#Parameters

Name Type
TargetPPI Integer

#Remarks

This procedure scales adjusts the component’s ScaleFactor property based on the target DPI value passed as the TargetPPI parameter and the PixelsPerInch property value.

Calling the ScaleForPPI procedure has no effect if the Scalable property returns False or the specified DPI matches the PixelsPerInch property value.

See Also