Skip to main content

TcxCustomImageProperties.Center Property

Specifies if an image editor centers the displayed image.

Declaration

property Center: Boolean read; write; default True;

Property Value

Type Default
Boolean True

Remarks

Set this property to True to center the displayed image within an image editor. Otherwise, the image is positioned based on its size, as follows:

  • An image smaller than the editor is aligned with the editor’s upper-left corner;

  • An image larger than the editor is initially centered within the editor, which automatically enables image scrolling or panning.

The default value of the Center property is True.

See Also