WmlMobileTextWriter.OpenCharacterFormat Method

Definition

Opens character formatting tags for the given format. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

C#
protected virtual void OpenCharacterFormat(System.Web.UI.MobileControls.Adapters.WmlMobileTextWriter.WmlFormat format, bool writeBold, bool writeItalic, bool writeSize);

Parameters

format
WmlMobileTextWriter.WmlFormat

An enumerated value representing the WML format to use while writing.

writeBold
Boolean

Whether to open bold character formatting.

writeItalic
Boolean

Whether to open italic character formatting.

writeSize
Boolean

Whether to open character size formatting.

Remarks

Called internally by the writer, and can be overridden by an inheriting class.

Applies to

Produkt Versiounen
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also