Edit

Bagikan melalui


ActivityDesigner.GetPreviewImage(Graphics) Method

Definition

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

Parameters

compatibleGraphics
Graphics

The Graphics object used to draw the image.

Returns

An Image object that contains a bitmap used as a preview image in the drag-and-drop operations and in the ConditionedActivityGroup preview pane.

Applies to