PageAdapter::TransformText Method
Transforms text for the target browser.
Assembly: System.Web (in System.Web.dll)
Parameters
- text
- Type: System::String
A String that is the text to transform.
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 InheritorsWhen you inherit from the PageAdapter class, you can override TransformText 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 method can be overridden to find that tag and change it.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.