Share via


ActivityDesigner.GetPreviewImage(Graphics) 方法

定義

取得指定之 Graphics 上活動設計工具的影像。

public:
 System::Drawing::Image ^ GetPreviewImage(System::Drawing::Graphics ^ compatibleGraphics);
public System.Drawing.Image GetPreviewImage (System.Drawing.Graphics compatibleGraphics);
member this.GetPreviewImage : System.Drawing.Graphics -> System.Drawing.Image
Public Function GetPreviewImage (compatibleGraphics As Graphics) As Image

參數

compatibleGraphics
Graphics

用來繪製影像的 Graphics 物件。

傳回

Image

Image 物件,包含在拖放作業和在 ConditionedActivityGroup 預覽窗格中用做預覽影像的點陣圖。

適用於