Udostępnij za pośrednictwem


WmlMobileTextWriter.RenderImage(String, String, String, Boolean) Metoda

Definicja

Renderuje element obrazu. 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:
 virtual void RenderImage(System::String ^ source, System::String ^ localSource, System::String ^ alternateText, bool breakAfter);
public virtual void RenderImage (string source, string localSource, string alternateText, bool breakAfter);
abstract member RenderImage : string * string * string * bool -> unit
override this.RenderImage : string * string * string * bool -> unit
Public Overridable Sub RenderImage (source As String, localSource As String, alternateText As String, breakAfter As Boolean)

Parametry

source
String

Określa adres URL obrazu.

localSource
String

Określa opcjonalną nazwę obrazu lokalnego.

alternateText
String

Określa tekst wyświetlany, jeśli nie można wyświetlić obrazu.

breakAfter
Boolean

Ustaw wartość , true jeśli przerwa jest wymagana po obrazie.

Dotyczy

Zobacz też