ShapeElement.UpdateGeometryLuminosity Method (DiagramClientView, Pen)
Updates the luminosity for the pen.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'宣告
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.DiagramClientView
The client view for the diagram.
- pen
Type: System.Drawing.Pen
The 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.