GetPreviewImage Method
Collapse the table of content
Expand the table of content

ActivityDesigner.GetPreviewImage Method (Graphics)


Gets the image of the activity designer on the specified Graphics.

Namespace:   System.Workflow.ComponentModel.Design
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

public Image GetPreviewImage(
	Graphics compatibleGraphics


Type: System.Drawing.Graphics

The Graphics object used to draw the image.

Return Value

Type: System.Drawing.Image

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

.NET Framework
Available since 3.0
Return to top
© 2015 Microsoft