PageAdapter.TransformText(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Transforms text for the target browser.
public:
virtual System::String ^ TransformText(System::String ^ text);
public virtual string TransformText (string text);
abstract member TransformText : string -> string
override this.TransformText : string -> string
Public Overridable Function TransformText (text As String) As String
Parameters
Returns
A String that contains the transformed text.
Remarks
The TransformText method can be used, for example, to transform tab characters (\t
) into line breaks (\n
).
The TransformText base method returns text
unchanged.
Notes to Inheritors
When you inherit from the PageAdapter class, you can override TransformText(String) if a particular markup has a construct with a different form from standard HTML. For example, if a browser requires a different identifier for a tag than what would be used in HTML, TransformText(String) method can be overridden to find that tag and change it.