Udostępnij za pośrednictwem


WmlMobileTextWriter.WmlFormat Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy WmlMobileTextWriter.WmlFormat. Ten interfejs API jest nieaktualny. Aby uzyskać informacje o sposobie tworzenia aplikacji mobilnych ASP.NET, zobacz Mobile Apps & Sites with ASP.NET (Aplikacje mobilne & z ASP.NET).

Przeciążenia

WmlMobileTextWriter.WmlFormat(Style, WmlMobileTextWriter+WmlFormat)

Inicjuje nowe wystąpienie klasy WmlMobileTextWriter.WmlFormat. Ten interfejs API jest nieaktualny. Aby uzyskać informacje o sposobie tworzenia aplikacji mobilnych ASP.NET, zobacz Mobile Apps & Sites with ASP.NET (Aplikacje mobilne & z ASP.NET).

WmlMobileTextWriter.WmlFormat(Boolean, Boolean, FontSize)

Inicjuje nowe wystąpienie klasy WmlMobileTextWriter.WmlFormat. Ten interfejs API jest nieaktualny. Aby uzyskać informacje o sposobie tworzenia aplikacji mobilnych ASP.NET, zobacz Mobile Apps & Sites with ASP.NET (Aplikacje mobilne & z ASP.NET).

WmlMobileTextWriter.WmlFormat(Style, WmlMobileTextWriter+WmlFormat)

Inicjuje nowe wystąpienie klasy WmlMobileTextWriter.WmlFormat. Ten interfejs API jest nieaktualny. Aby uzyskać informacje o sposobie tworzenia aplikacji mobilnych ASP.NET, zobacz Mobile Apps & Sites with ASP.NET (Aplikacje mobilne & 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 formatnika na podstawie.

currentFormat
WmlMobileTextWriter.WmlFormat

Format umożliwiający utworzenie nowego formatnika.

Uwagi

Ten konstruktor najpierw wygląda na podany styl dla wartości BoldItalic i Size. Jeśli którekolwiek z odpowiednich właściwości obiektu style 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 nieaktualny. Aby uzyskać informacje o sposobie tworzenia aplikacji mobilnych ASP.NET, zobacz Mobile Apps & Sites with ASP.NET (Aplikacje mobilne & 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