ImageField.GetDisplayImage(ShapeElement) 方法

定义

获取此字段要显示的图像。

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

参数

parentShape
ShapeElement

此字段的父 ShapeElement。

返回

Image

此字段要显示的图像。

注解

重写此方法可在绘制之前自定义显示图像。

适用于