ElementHost.OnPrint(PaintEventArgs) 方法

定义

使用提供的 Graphics 对象呈现控件。Renders the control using the provided Graphics object.

protected:
 override void OnPrint(System::Windows::Forms::PaintEventArgs ^ e);
protected override void OnPrint (System.Windows.Forms.PaintEventArgs e);
override this.OnPrint : System.Windows.Forms.PaintEventArgs -> unit
Protected Overrides Sub OnPrint (e As PaintEventArgs)

参数

e
PaintEventArgs

包含事件数据的 PaintEventArgsA PaintEventArgs that contains the event data.

适用于

另请参阅