Skip to main content

TcxScalableComponent.ScaleForPPI(Integer) Method

Scales the component according to the specified DPI value.

Declaration

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