A Byte type property. Specifies the font style (bold, italic, underline, etc. ) for this character block.
Applies to: Character object
[[Let] byteRet =] object.Style [Let] object.Style = styleSet |
The Style property syntax has these parts:
Part | Description |
object | Required. An expression that returns a Character object. |
byteRet | Optional. A Byte type variable. |
styleSet | Required. An expression that returns a Byte value. |
The Style property can take any combination of the values listed below:
Constant | Value | Description |
cdFSNormal | 0 | Normal. |
cdFSBold | 1 | Bold. |
cdFSItalic | 2 | Italic. |
cdFSUnderline | 4 | Underline. |
cdFSStrikeTrough | 8 | Strikethrough. |
The Style property is also a table parameter of the shape which contains the object character block, that is, its value can be described by a formula. To work with Style as a table parameter, use the CDPT_CHAR_STYLE constant tag.
See Also |
SetCharStyle method |