WmlMobileTextWriter.WmlFormat Konstruktorer

Definition

Initierar en ny instans av WmlMobileTextWriter.WmlFormat. Det här API:et är föråldrat. Information om hur du utvecklar ASP.NET mobila program finns i Mobile Apps & Webbplatser med ASP.NET.

Överlagringar

Name Description
WmlMobileTextWriter.WmlFormat(Style, WmlMobileTextWriter+WmlFormat)

Initierar en ny instans av WmlMobileTextWriter.WmlFormat. Det här API:et är föråldrat. Information om hur du utvecklar ASP.NET mobila program finns i Mobile Apps & Webbplatser med ASP.NET.

WmlMobileTextWriter.WmlFormat(Boolean, Boolean, FontSize)

Initierar en ny instans av WmlMobileTextWriter.WmlFormat. Det här API:et är föråldrat. Information om hur du utvecklar ASP.NET mobila program finns i Mobile Apps & Webbplatser med ASP.NET.

WmlMobileTextWriter.WmlFormat(Style, WmlMobileTextWriter+WmlFormat)

Initierar en ny instans av WmlMobileTextWriter.WmlFormat. Det här API:et är föråldrat. Information om hur du utvecklar ASP.NET mobila program finns i Mobile Apps & Webbplatser med 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)

Parametrar

style
Style

Formatmallen som du vill skapa den nya formaterare från.

currentFormat
WmlMobileTextWriter.WmlFormat

Formatet som du vill skapa den nya formaterare från.

Kommentarer

Den här konstruktorn ser först till det angivna formatet för värdena BoldItalic för och Size. Om någon av motsvarande egenskaper style för är NotSet, ser den här konstruktorn till motsvarande egenskaper för parametern currentFormat .

Se även

Gäller för

WmlMobileTextWriter.WmlFormat(Boolean, Boolean, FontSize)

Initierar en ny instans av WmlMobileTextWriter.WmlFormat. Det här API:et är föråldrat. Information om hur du utvecklar ASP.NET mobila program finns i Mobile Apps & Webbplatser med 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)

Parametrar

bold
Boolean

trueför att ange formatet till fetstil. annars . false

italic
Boolean

trueför att ange formatet till kursivt; annars . false

size
FontSize

Teckenstorleken som ska användas skriftligen.

Se även

Gäller för