Skip to main content
Skip table of contents

f$Structure_Style (f$Struktur_Stil)


f$Structure_Style (f$Struktur_Stil)

The properties of a style are set with this function.

Syntax:

Status = f$Struktur_Stil (Number,Style,PGName)

 

Argument

Type

Meaning

 

Number

Integer

Number returned by f$Structure_open

 

Style

Integer

Number of the style to be set

 

PGName

String

Name of a parameter group containing the style's data

Result:

Integer

Status:

-99: a structure dialog with the given number does not exist

-1 : the style number is lower than 0

0 : style successfully allocated

The following parameters are evaluated from the given parameter group:

Name

Benennung

Type

Name

Name of the font (e.g. Arial)

String

Size

Size of the font (e.g. 9)

Integer

Bold

Bold typeface or not (1 or 0)

Integer

Italic

Italicized typeface or not (1 or 0)

Integer

Underline

Underlined writing or not (1 or 0)

Integer

Color_R

Red value of the color (0-255)

Integer

Color_G

Green value of the color (0-255)

Integer

Color_B

Blue value of the color (0-255)

Integer

Example:

StructureFont.Name = 'MS Sans Serif'

 

StructureFont.Italic = 0

 

StructureFont.Color_R = 0

 

StructureFont.Color_G = 0

 

StructureFont.Color_B = 255

 

Status = f$Struktur_Stil ( Number , 1 , 'StructureFont' )

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.