WebBrowser.ShowPrintDialog メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > WebBrowser.ShowPrintDialog メソッドの意味・解説 

WebBrowser.ShowPrintDialog メソッド

メモ : このメソッドは、.NET Framework version 2.0新しく追加されたものです。

ヘッダー値とフッター値を設定せずに、Internet Explorer の [印刷] ダイアログ ボックス開きます

名前空間: System.Windows.Forms
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)
構文構文

Public Sub ShowPrintDialog
Dim instance As WebBrowser

instance.ShowPrintDialog
public void ShowPrintDialog ()
public:
void ShowPrintDialog ()
public void ShowPrintDialog ()
public function ShowPrintDialog ()
解説解説
使用例使用例

ShowPrintDialog メソッド使用してInternet Explorer の [ファイル] メニューの [印刷] メニュー オプションのような機能実装する方法次のコード例示します。この例は、MenuItemFilePrint という名前のメニュー項目を含むメニューフォーム含まれていることを前提としています。

' Displays the Print dialog box.
Private Sub printToolStripMenuItem_Click( _
    ByVal sender As Object,
 ByVal e As EventArgs) _
    Handles printToolStripMenuItem.Click

    webBrowser1.ShowPrintDialog()

End Sub
// Displays the Print dialog box.
private void printToolStripMenuItem_Click(object
 sender, EventArgs e)
{
    webBrowser1.ShowPrintDialog();
}
// Displays the Print dialog box.
void MenuItemFilePrint_Click( System::Object^ /*sender*/, System::EventArgs^
 /*e*/ )
{
   this->WebBrowser1->ShowPrintDialog();
}
.NET Framework のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

WebBrowser.ShowPrintDialog メソッドのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



WebBrowser.ShowPrintDialog メソッドのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2024 Microsoft.All rights reserved.

©2024 GRAS Group, Inc.RSS