IGeometryHost.UpdateGeometryLuminosity Method (DiagramClientView, Pen)
Modifies the luminosity of the specified pen.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'宣言
Function UpdateGeometryLuminosity ( _
view As DiagramClientView, _
pen As Pen _
) As Color
Color UpdateGeometryLuminosity(
DiagramClientView view,
Pen pen
)
Color UpdateGeometryLuminosity(
DiagramClientView^ view,
Pen^ pen
)
abstract UpdateGeometryLuminosity :
view:DiagramClientView *
pen:Pen -> Color
function UpdateGeometryLuminosity(
view : DiagramClientView,
pen : Pen
) : Color
Parameters
- view
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView
The DiagramClientView which may maintain useful highlighting information.
- pen
Type: System.Drawing.Pen
The pen whose luminosity is to be updated.
Return Value
Type: System.Drawing.Color
.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.