Object Model Reference : Classes : T : Text : Properties : Text.IsHTMLCompatible |
Property IsHTMLCompatible As Boolean
Member of Text
The IsHTMLCompatible property returns True if the specified paragraph-text object can be exported to HTML with the current formatting.
The IsHTMLCompatible property returns a read-only value.
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 |
Copyright 2013 Corel Corporation. All rights reserved.