Delen via


ShapeElement.UpdateGeometryLuminosity Method (DiagramClientView, Pen)

Updates the luminosity for the pen.

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

Syntax

'Declaration
Public Function UpdateGeometryLuminosity ( _
    view As DiagramClientView, _
    pen As Pen _
) As Color
public Color UpdateGeometryLuminosity(
    DiagramClientView view,
    Pen pen
)
public:
virtual Color UpdateGeometryLuminosity(
    DiagramClientView^ view, 
    Pen^ pen
) sealed
abstract UpdateGeometryLuminosity : 
        view:DiagramClientView * 
        pen:Pen -> Color  
override UpdateGeometryLuminosity : 
        view:DiagramClientView * 
        pen:Pen -> Color
public final function UpdateGeometryLuminosity(
    view : DiagramClientView, 
    pen : Pen
) : Color

Parameters

Return Value

Type: System.Drawing.Color
The color of the pen before the luminosity was updated.

Implements

IGeometryHost.UpdateGeometryLuminosity(DiagramClientView, Pen)

.NET Framework Security

See Also

Reference

ShapeElement Class

UpdateGeometryLuminosity Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace