Share via


Chart.Paint(Graphics, Rectangle) 方法

定義

在圖形上繪製圖表影像。

public:
 void Paint(System::Drawing::Graphics ^ graphics, System::Drawing::Rectangle position);
public void Paint (System.Drawing.Graphics graphics, System.Drawing.Rectangle position);
member this.Paint : System.Drawing.Graphics * System.Drawing.Rectangle -> unit
Public Sub Paint (graphics As Graphics, position As Rectangle)

參數

graphics
Graphics

會在其中繪製圖表影像的圖形物件。

position
Rectangle

圖表影像在圖形上的位置。

適用於