Style (Property)

Applies To:

Font object, Themes collection

Description:

Returns or sets the value of text associated with the font object.

Action:

Read-write

Constants:

The BqFontStyle constant has these values:

Example:

This example shows how to change the size of the text associated with a text label:

var MyLabel = ActiveDocument.Sections["Dashboard"].Shapes["TextLabel1"]
MyLabel.Font.Size = 14
MyLable.Font.Style = bqFontStyleBoldItalic