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 对象,该对象包含在拖放操作和预览窗格中用作预览图像的 ConditionedActivityGroup 位图。

适用于