API Documentation > CorelDRAW > 2025-v26 > Text > IVGText
Text.IsHTMLCompatible property
Gets the HTML compatibility status of the text
Syntax:
Property Get IsHTMLCompatible() As Boolean
Remarks:
The IsHTMLCompatible property returns True if the specified paragraph-text object can be exported to HTML with the current formatting.
Examples:
The following VBA example ensures that all paragraph-text objects on the page are HTML-compatible.
Sub Test()
Dim s As Shape
For Each s In ActivePage.FindShapes(Type:=cdrTextShape)
  If s.Text.Type = cdrParagraphText Then

 If Not s.Text.IsHTMLCompatible Then s.Text.MakeHTMLCompatible True

 End If
  Next s

End Sub