Updates the luminosity for the pen.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Function UpdateGeometryLuminosity ( _
view As DiagramClientView, _
pen As Pen _
) As Color
'使用
Dim instance As ShapeElement
Dim view As DiagramClientView
Dim pen As Pen
Dim returnValue As Color
returnValue = instance.UpdateGeometryLuminosity(view, _
pen)
public Color UpdateGeometryLuminosity(
DiagramClientView view,
Pen pen
)
public:
virtual Color UpdateGeometryLuminosity(
DiagramClientView^ view,
Pen^ pen
) sealed
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)
Permissions
- 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.