ActivityDesigner.GetPreviewImage(Graphics) ActivityDesigner.GetPreviewImage(Graphics) ActivityDesigner.GetPreviewImage(Graphics) ActivityDesigner.GetPreviewImage(Graphics) Method

定義

取得指定之 Graphics 上活動設計工具的影像。Gets the image of the activity designer on the specified 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 Graphics Graphics

用來繪製影像的 Graphics 物件。The Graphics object used to draw the image.

傳回

Image 物件,包含在拖放作業和在 ConditionedActivityGroup 預覽窗格中用做預覽影像的點陣圖。An Image object that contains a bitmap used as a preview image in the drag-and-drop operations and in the ConditionedActivityGroup preview pane.

適用於