Previous Document Next Document
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 code 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 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.