TCustomRichView.BackgroundStyle

<< Click to display table of contents >>

TCustomRichView.BackgroundStyle

Defines how BackgroundBitmap is displayed

type

  TBackgroundStyle = (bsNoBitmap, bsStretched,

    bsTiled, bsTiledAndScrolled, bsCentered,

    bsTopLeft, bsTopRight,

    bsBottomLeft, bsBottomRight);

 

property BackgroundStyle : TBackgroundStyle;

Note: TBackgroundStyle is declared in RVScroll unit.

Style

Meaning

bsNoBitmap

Colored background (bitmap is not used)

bsStretched

Bitmap is stretched to fit RichView window

bsTiled

Repeats bitmap until the entire RichView window is covered

bsTiledAndScrolled

Repeats bitmap until the entire scrollable area is covered (tiles are scrolled together with content)

bsCentered

Centers bitmap in RichView window

bsTopLeft,

Bitmap is in the top left corner

bsTopRight

Bitmap is in the top right corner

bsBottomLeft

Bitmap is in the bottom left corner

bsBottomRight

Bitmap is in the bottom right corner

In TRichViewEdit, you can change this property as an editing operation, see TRichViewEdit.SetIntPropertyEd.

See also properties:

BackgroundBitmap;

Color.

See also:

TRVItemBackgroundType type;

Smooth image scaling.