Flexible TreeView 5.1.9 Help
TextToHtml Method



The target text for converting.
Converts plain or HTML text to valid HTML text.
Syntax
'Declaration
 
Public Shared Function TextToHtml( _
   ByVal pText As String _
) As String
'Usage
 
Dim pText As String
Dim value As String
 
value = HtmlTextHelper.TextToHtml(pText)
public static string TextToHtml( 
   string pText
)
public:
static String^ TextToHtml( 
   String^ pText
) 

Parameters

pText
The target text for converting.

Return Value

Valid HTML text.
Remarks
Note that the specified text would not be checked for HTML tags format errors. Use ValidateHtmlText method if node displays a HTML text as a plaint text.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

HtmlTextHelper Class
HtmlTextHelper Members

Send Feedback