Visit Gigasoft's Web Site
 ProEssentials v11 Help

GraphBmpStyle

Scope

Pego, Pesgo, Pe3do, Pepso, Pepco

Type

Int32

Default

PEBS_NO_BMP (0)

JS / .NET

PeColor.GraphBmpStyle

OCX / VCL

GraphBmpStyle

DLL

PEP_nGRAPHBMPSTYLE

 

Purpose

Controls how the bitmap defined by GraphBmpFilename is painted to the controls charting or axis area.

 

Individual axes can each have their own bitmap and/or gradient parameters by utilizing WorkingAxis.

 

.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 (4)

Top Center Justified

BitBltTopRight

PEBS_BITBLT_TOP_RIGHT (5)

Top Right Justified

BitBltBottomLeft

PEBS_BITBLT_BOTTOM_LEFT (6)

Bottom Left Justified

BitBltBottomCenter

PEBS_BITBLT_BOTTOM_CENTER (7)

Bottom Center Justified

BitBltBottomRight

PEBS_BITBLT_BOTTOM_RIGHT (8)

Bottom Right Justified

BitBltCenter

PEBS_BITBLT_CENTER (9)

Centered Horizontally and Vertically

BitBltZooming

PEBS_BITBLT_ZOOMING (10)

Anchored to data coordinates, so the bitmap zooms and scrolls with the graph. Set the extents with PeGrid.Configure.GraphBmpMinX, GraphBmpMaxX, GraphBmpMinY and GraphBmpMaxY.

 

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, xBitBltZooming);

 

Comments

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

 

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

 

See Also: GraphBmpFilename, BitmapGradientMode, GraphBackColor, WorkingAxis.