TCustomRichView.BackgroundStyle (deprecated)

<< Click to display table of contents >>

TCustomRichView.BackgroundStyle (deprecated)

Defines how BackgroundPicture is displayed

type

  TBackgroundStyle = (bsNoBitmap, bsStretched,

    bsTiled, bsTiledAndScrolled, bsCentered,

    bsTopLeft, bsTopRight,

    bsBottomLeft, bsBottomRight, bsOther);

 

property BackgroundStyle : TBackgroundStyle;

Deprecated, use BackgroundProperties instead.

Note: TBackgroundStyle is declared in RVScroll unit.

Style

Meaning

bsNoBitmap

Colored background (picture is not used)

bsStretched

Picture is stretched to fit TRichView window

bsTiled

Repeats picture until the entire TRichView window is covered

bsTiledAndScrolled

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

bsCentered

Centers picture in TRichView window

bsTopLeft,

Picture is in the top left corner

bsTopRight

Picture is in the top right corner

bsBottomLeft

Picture is in the bottom left corner

bsBottomRight

Picture is in the bottom right corner

bsOther

The value specified in BackgroundProperties does not have an analog in TBackgroundStyle

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

See also:

TRVItemBackgroundType type;

Smooth image scaling.