Visit Gigasoft's Web Site
 ProEssentials v9 Help

DeskBmpStyle

Scope

Pego, Pesgo, Pe3do, Pepso, Pepco

Type

Int32

Default

0

.NET

PeColor.DeskBmpStyle

Ocx|Vcl

DeskBmpStyle

DLL

PEP_nDESKBMPSTYLE

 

Purpose

Controls how the bitmap defined by DeskBmpFilename is painted to the controls desk area.

 

.NET Gigasoft.Enums.

ActiveX and

 

BitmapStyle.

DLL Constants

Description

NoBmp

PEBS_NO_BMP (0)

No Bitmap

StretchBlt

PEBS_STRETCHBLT (1)

Compress or Stretch to fit.

TiledBitBlt

PEBS_TILED_BITBLT (2)

Tiled Bitmap

BitBltTopLeft

PEBS_BITBLT_TOP_LEFT (3)

Top Left Justified

BitBltTopCenter

PEBS_BITBLT_TOP_CENTER

Top Center Justified

BitBltTopRight

PEBS_BITBLT_TOP_RIGHT

Top Right Justified

BitBltBottomLeft

PEBS_BITBLT_BOTTOM_LEFT

Bottom Left Justified

BitBltBottomCenter

PEBS_BITBLT_BOTTOM_CENTER

Bottom Center Justified

BitBltBottomRight

PEBS_BITBLT_BOTTOM_RIGHT

Bottom Right Justified

BitBltCenter

PEBS_BITBLT_CENTER

Centered Horizontally and Vertically

 

VCL Enumerations:

Replace the x prefix with either g(graph), sg(scientific graph), td(3D scientific graph), ps(polar/smith), or pc(pie chart).

eBitmapStyle = (xNoBmp, xStretchBlt, xTiledBlt, xBitBltTopLeft, xBitBltTopCenter, xBitBltTopRight, xBitBltBottomLeft, xBitBltBottomCenter, xBitBltBottomRight, xBitBltCenter);

 

Comments

PeColor.DeskBmpStyle members of Pego.PeColor, Pesgo.PeColor, Pe3do.PeColor, Pepso.PeColor, Pepco.PeColor

 

This property is only effective if BitmapGradientMode is TRUE, DeskBmpFilename is defined, and DeskColor is set to 1. For more information on background bitmaps and gradients, see commonly asked Question 36.

 

See Also: DeskBmpFilename, BitmapGradientMode, DeskColor.