Help Center

TextStyleHeaderproperty

Determines the style of headers.

Windowspropertydoc-orphan
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.

Syntax

PROPERTY TextStyleHeader (BYVAL BandNumber AS LONG) AS TextStyleSettings
PROPERTY TextStyleHeader (BYVAL BandNumber AS LONG, BYVAL style AS TextStyleSettings) AS HRESULT
PROPERTY TextStyleHeader () AS TextStyleSettings
PROPERTY TextStyleHeader (BYVAL style AS TextStyleSettings) AS HRESULT

Parameters

NameDescription
BandNumberA zero‑based index identifying the band whose text Style is being retrieved or modified. If the band number is omited, band 0 is assumed.
styleAn integer or constant that specifies the text style.

Description

Returns or sets the three-dimensional style for text withinthe column headers of a specific band.

Settings 1 and 2 work best for large and bold fonts. Settings 3 and 4 work best for small, regular fonts.

Examples

grid.TextStyleHeader(0) = flexTextRaised

To make the headers for the primary data level (Band 0) appear raised:

Reference