API Documentation > CorelDRAW > 2025-v26 > Text > IVGText
Text.MakeHTMLCompatible method
Sets the HTML compatibility status of the text, if possible
Syntax:
Function MakeHTMLCompatible(ByVal HTML As Boolean) As Boolean
Parameters:
Name Type Description
HTML
Boolean
Remarks:
The MakeHTMLCompatible property ensures that a paragraph-text object is HTML-compatible. Artistic text cannot be converted to HTML text and is always treated as a bitmap. However, you can convert artistic text to paragraph text and then make it Web-compatible.
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