Skip to main content

TcxCustomImageProperties.Center Property

Specifies if the editor centers an image.

Declaration

property Center: Boolean read; write; default True;

Property Value

Type Default Description
Boolean True

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