Previous Document Next Document

Object Model Reference : Classes : T : Text : Properties : Text.IsHTMLCompatible


Text.IsHTMLCompatible

Property IsHTMLCompatible As Boolean

Description

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.

VBA example

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.