ImageField.GetDisplayImage(ShapeElement) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.