[This is preliminary documentation and is subject to change.]
Converts the input string into html. This method changes the
line break and other formatting tag to its equivalent html
format. It can be used to preserve formatting of the textarea
control when dispayed on the screen as label. This method always
converts the line break to the break tag in html.
Namespace:
OfficeClip.UtilsAssembly: OfficeClip.Utils (in OfficeClip.Utils)
Version: 8.1.1.0
Syntax
C# |
---|
public static string ConvertHtml( string text, bool allow ) |
Visual Basic (Declaration) |
---|
Public Shared Function ConvertHtml ( _ text As String, _ allow As Boolean _ ) As String |
Visual C++ |
---|
public: static String^ ConvertHtml( String^ text, bool allow ) |
Parameters
- text
- Type: System..::.String
The input text to be converted
- allow
- Type: System..::.Boolean
Whether to allow < tags to pass through as is