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
view
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientViewThe client view for the diagram.
pen
Type: System.Drawing.PenThe pen.
Return Value
Type: System.Drawing.Color
The color of the pen before the luminosity was updated.
Implements
IGeometryHost.UpdateGeometryLuminosity(DiagramClientView, Pen)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.