Gets or sets a value indicating whether styled text rendering is enabled.
SyntaxVB6
Copy Code
|
|---|
Public Property Get EnableStyledText() As Boolean |
C++
Copy Code
|
|---|
public: |
A boolean value. Initialized with FlowChart.EnableStyledText.
RemarksStyled text can have various attributes applied to the characters it contains. The attributes are specified using HTML-like tags embedded in the raw text. Attributes can be combined just like in HTML. Styled text formatting is provided by the same renderer that implements "fit polygon" text layout styles. As a consequence, such text is rendered properly only when the CaptionStyle or the cell's text style is set to one of the following values: tsFitPolyTop, tsFitPolyCenter or tsFitPolyBottom.
The following table lists the currently supported style tags:
Tags | Style |
|---|---|
<i> text </i> | italic text |
<b> text </b> | bold text |
<u> text </u> | underlined text |
<sub> text </sub> | subscript |
<sup> text </sup> | superscript |
ExampleThe following code demonstrates how to use styled text in a table.
VB6
Copy Code
|
|---|
Private Sub Form_Load() |
See Also