共用方式為


PrintPreviewControl.OnPaint(PaintEventArgs) 方法

定義

覆寫 OnPaint(PaintEventArgs) 方法。

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

參數

pevent
PaintEventArgs

PaintEventArgs,其中包含事件資料。

適用於