SectionFont

SectionFont specifies the font for one or more sections in the specified report.

Syntax
[form.]Report.SectionFont(SequentialIndex%)[= sectionCode; fontName; 
size; italic; bold;underline;strikethru$]

For example:

CrystalReport1.SectionFont(0)="Footer;Arial;12;N;N;N;Y"

«Sets the font for the footer section to 12 point, Arial, strikethrough.»

Remarks

Use the following table as a guide in supplying the required values for this property:

Parameter Data type Value expected

sectionCode

string

Please refer to the Overview of Section Codes.

fontName

string

The actual font name (i.e., Arial or Helvetica).

size

number

The size of the font in points (i.e., 12 or 16).

italic

character

T = true, F = False, X = as is*

bold

character

T = true, F = False, X = as is*

underline

character

T = true, F = False, X = as is*

strikethrough

character

T = true, F = False, X = as is*

*X (as is) uses the value saved with the report.

Data Type

Array of strings

Availability

Runtime

Related Report Engine Functions

PESetFont



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com