Muokkaa

Jaa


WmlMobileTextWriter.WmlFormat Constructors

Definition

Initializes a new instance of WmlMobileTextWriter.WmlFormat. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

Overloads

WmlMobileTextWriter.WmlFormat(Style, WmlMobileTextWriter+WmlFormat)

Initializes a new instance of WmlMobileTextWriter.WmlFormat. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

WmlMobileTextWriter.WmlFormat(Boolean, Boolean, FontSize)

Initializes a new instance of WmlMobileTextWriter.WmlFormat. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

WmlMobileTextWriter.WmlFormat(Style, WmlMobileTextWriter+WmlFormat)

Initializes a new instance of WmlMobileTextWriter.WmlFormat. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public:
 WmlFormat(System::Web::UI::MobileControls::Style ^ style, System::Web::UI::MobileControls::Adapters::WmlMobileTextWriter::WmlFormat ^ currentFormat);
public WmlFormat (System.Web.UI.MobileControls.Style style, System.Web.UI.MobileControls.Adapters.WmlMobileTextWriter.WmlFormat currentFormat);
new System.Web.UI.MobileControls.Adapters.WmlMobileTextWriter.WmlFormat : System.Web.UI.MobileControls.Style * System.Web.UI.MobileControls.Adapters.WmlMobileTextWriter.WmlFormat -> System.Web.UI.MobileControls.Adapters.WmlMobileTextWriter.WmlFormat
Public Sub New (style As Style, currentFormat As WmlMobileTextWriter.WmlFormat)

Parameters

style
Style

The style to create the new formatter from.

currentFormat
WmlMobileTextWriter.WmlFormat

The format to create the new formatter from.

Remarks

This constructor looks first to the given style for the values of BoldItalic and Size. If any of the corresponding properties of the style are NotSet, this constructor looks to the corresponding properties of the currentFormat parameter.

See also

Applies to

WmlMobileTextWriter.WmlFormat(Boolean, Boolean, FontSize)

Initializes a new instance of WmlMobileTextWriter.WmlFormat. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public:
 WmlFormat(bool bold, bool italic, System::Web::UI::MobileControls::FontSize size);
public WmlFormat (bool bold, bool italic, System.Web.UI.MobileControls.FontSize size);
new System.Web.UI.MobileControls.Adapters.WmlMobileTextWriter.WmlFormat : bool * bool * System.Web.UI.MobileControls.FontSize -> System.Web.UI.MobileControls.Adapters.WmlMobileTextWriter.WmlFormat
Public Sub New (bold As Boolean, italic As Boolean, size As FontSize)

Parameters

bold
Boolean

true to set format to bold; otherwise, false.

italic
Boolean

true to set format to italic; otherwise, false.

size
FontSize

The font size to be used in writing.

See also

Applies to