Editar

Partilhar via


PageAdapter.TransformText(String) Method

Definition

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

text
String

A String that is the text to transform.

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.

Applies to

See also