次の方法で共有


ImageField.GetDisplayImage(ShapeElement) Method

Definition

Gets the image to be displayed by this field.

public:
 virtual System::Drawing::Image ^ GetDisplayImage(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ parentShape);
public virtual System.Drawing.Image GetDisplayImage (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement parentShape);
abstract member GetDisplayImage : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement -> System.Drawing.Image
override this.GetDisplayImage : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement -> System.Drawing.Image
Public Overridable Function GetDisplayImage (parentShape As ShapeElement) As Image

Parameters

parentShape
ShapeElement

The parent ShapeElement of this field.

Returns

The image to be displayed by this field.

Remarks

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

Applies to