語言

WmlMobileTextWriter.RenderImage(String, String, String, Boolean) 方法

定義

渲染一個影像元素。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &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)

參數

source
String

指定圖片網址。

localSource
String

指定一個可選的本地影像名稱。

alternateText
String

指定若無法顯示影像時需顯示的文字。

breakAfter
Boolean

如果圖片後需要休息,則設定為true

適用於

另請參閱