ImageField::GetDisplayImage Method (ShapeElement^)

 

Gets the image to be displayed by this field.

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

public:
virtual Image^ GetDisplayImage(
	ShapeElement^ parentShape
)

Parameters

parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams::ShapeElement^

The parent ShapeElement of this field.

Return Value

Type: System.Drawing::Image^

Override this method to customize your display image prior to drawing.

For an example, see ImageField.

Return to top
Show: