Control object, Title object, ValueLabels object
Contains all font methods and properties.
This example shows how to change the size, color, and alignment of a text label:
MyLabel = ActiveDocument.Sections["Dashboard"].Controls["TextLabel"] MyLabel.Font.Size = 10 MyLabel.Font.Color = bqBlue MyLabel.Font.Align = bqAlignTop
The Align property uses the BqVerticalAlignment constant group, which consists of these values:
The Color property uses the BqColorType constant group, which consists of these values:
bqAqua = 65535
bqBlack = 0
bqBlue = 255
bqBlueGray = 6710937
bqBrightGreen = 65280
bqBrown = 10824234
bqDarkBlue = 119
bqDarkGreen = 13056
bqDarkRed = 9109504
bqDarkTeal = 18504
bqDarkYellow = 14329120
bqGold = 16763904
bqGray40 = 10066329
bqGray50 = 8355711
bqGray80 = 3355443
bqGreen = 30464
bqIndigo = 4915330
bqLavender = 15132410
bqLightBlue = 11393254
bqLightGreen = 13434828
bqLightOrange = 16750848
bqLightTurquoise = 11529966
bqLightYellow = 16777113
bqLime = 10079232
bqOliveGreen = 3355392
bqOrange =16737792
bqPaleBlue = 10079487
bqPink = 16711936
bqPlum = 14524637
bqRed = 16711680
bqRose = 16751052
bqSeaGreen = 3050327
bqSkyBlue = 8900331
bqTan = 13808780
bqTeal = 30840
bqTransparent = 16711422
bqTurquoise = 4251856
bqViolet = 7864440
bqWhite = 16777215
bqYellow = 16776960
The Effect property uses the BqFontEffect constant group, which has these values:
The Justify property uses the BqHorizontalJustification constant group, that has these values:
This example shows how to make a text label blue and italic.
ActiveDocument.Sections["Dashboard"].Shapes["TextLabel1"].Font.Color=bqBlue ActiveDocument.Sections["Dashboard"].Shapes["TextLabel1"].Font.Style=bqFontStyleItalic
Read-write: Property Color As BqColorType, Property Effect As BqFontEffect (not supported in the EPM Workspace), Property Name As String, Property Size As Number, Property Style As BqFontStyle