다음을 통해 공유


ImageField.GetDisplayImage Method

Gets the image to be displayed by this field.

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

Syntax

‘선언
Public Overridable Function GetDisplayImage ( _
    parentShape As ShapeElement _
) As Image
public virtual Image GetDisplayImage(
    ShapeElement parentShape
)
public:
virtual Image^ GetDisplayImage(
    ShapeElement^ parentShape
)
abstract GetDisplayImage : 
        parentShape:ShapeElement -> Image 
override GetDisplayImage : 
        parentShape:ShapeElement -> Image 
public function GetDisplayImage(
    parentShape : ShapeElement
) : Image

Parameters

Return Value

Type: System.Drawing.Image

Remarks

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

Examples

For an example, see ImageField.

.NET Framework Security

See Also

Reference

ImageField Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace