![]() |
![]() |
Text.MakeHTMLCompatible
Function MakeHTMLCompatible(HTML As Boolean) As Boolean
Member of Text
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 it to paragraph text and then make it Web-compatible.
The following code example ensures that all of the 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
![]() |
![]() |
![]() |
Copyright 2007 Corel Corporation. All rights reserved.