Skip to content
Member Filters
Show Inherited
Show Protected
Show abstract
GR32_Image🞂TCustomImage32🞂BitmapAlignProperty

TCustomImage32.BitmapAlign

Specifies bitmap positioning and alignment behavior within the viewport.

Declaration ​

pascal
type
  TBitmapAlign = (baTopLeft, baCenter, baTile, baCustom);

property BitmapAlign: TBitmapAlign read FBitmapAlign write SetBitmapAlign;

Description ​

BitmapAlign specifies how the bitmap is positioned within the control viewport when ScaleMode is set to smNormal or smScale.

ValueDescription
baTopLeftAligns the top-left corner of the bitmap with the top-left corner of the viewport control.
baCenterCenters the bitmap horizontally and vertically within the viewport control.
baTileTiles the bitmap repeatedly across the entire client area of the control.
baCustomEnables custom positioning using OffsetHorz and OffsetVert properties.

See also ​