Back to Devexpress

TcxCustomImageProperties.Center Property

vcl-cximage-dot-tcxcustomimageproperties-7c9c6f90.md

latest1.4 KB
Original Source

TcxCustomImageProperties.Center Property

Specifies if the editor centers an image.

Declaration

delphi
property Center: Boolean read; write; default True;

Property Value

TypeDefaultDescription
BooleanTrue

True if the displayed image is centered; otherwise, False.

|

Remarks

You can set the Center property to False to allow users to scroll an image if it does not fit into the editor’s boundaries when the FitMode property is set to ifmNormal.

Note

The Center property has no effect on the image editor if the FitMode property is set to ifmStretch, ifmProportionalStretch, ifmFit, or ifmFill.

Default Value

The Center property’s default value is True.

See Also

TcxCustomImageProperties.FitMode Property

TcxCustomImage.ZoomingOptions Property

TcxCustomImageProperties Class

TcxCustomImageProperties Members

cxImage Unit