Język

WmlMobileTextWriter.WmlFormat Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy WmlMobileTextWriter.WmlFormat. Ten interfejs API jest przestarzały. Aby uzyskać informacje na temat tworzenia aplikacji mobilnych ASP.NET, zobacz Mobile Apps & Witryny z ASP.NET.

Przeciążenia

Nazwa Opis
WmlMobileTextWriter.WmlFormat(Style, WmlMobileTextWriter+WmlFormat)

Inicjuje nowe wystąpienie klasy WmlMobileTextWriter.WmlFormat. Ten interfejs API jest przestarzały. Aby uzyskać informacje na temat tworzenia aplikacji mobilnych ASP.NET, zobacz Mobile Apps & Witryny z ASP.NET.

WmlMobileTextWriter.WmlFormat(Boolean, Boolean, FontSize)

Inicjuje nowe wystąpienie klasy WmlMobileTextWriter.WmlFormat. Ten interfejs API jest przestarzały. Aby uzyskać informacje na temat tworzenia aplikacji mobilnych ASP.NET, zobacz Mobile Apps & Witryny z ASP.NET.

WmlMobileTextWriter.WmlFormat(Style, WmlMobileTextWriter+WmlFormat)

Inicjuje nowe wystąpienie klasy WmlMobileTextWriter.WmlFormat. Ten interfejs API jest przestarzały. Aby uzyskać informacje na temat tworzenia aplikacji mobilnych ASP.NET, zobacz Mobile Apps & Witryny z 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)

Parametry

style
Style

Styl tworzenia nowego formatującego na podstawie.

currentFormat
WmlMobileTextWriter.WmlFormat

Format do utworzenia nowego formatującego na podstawie.

Uwagi

Ten konstruktor najpierw wygląda na dany styl dla wartości BoldItalic i Size. Jeśli którakolwiek z odpowiednich właściwości style obiektu to NotSet, ten konstruktor wygląda na odpowiednie właściwości parametru currentFormat .

Zobacz też

Dotyczy

WmlMobileTextWriter.WmlFormat(Boolean, Boolean, FontSize)

Inicjuje nowe wystąpienie klasy WmlMobileTextWriter.WmlFormat. Ten interfejs API jest przestarzały. Aby uzyskać informacje na temat tworzenia aplikacji mobilnych ASP.NET, zobacz Mobile Apps & Witryny z 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)

Parametry

bold
Boolean

true aby ustawić format na pogrubiony; w przeciwnym razie, false.

italic
Boolean

true aby ustawić format na kursywę; w przeciwnym razie, false.

size
FontSize

Rozmiar czcionki do użycia na piśmie.

Zobacz też

Dotyczy