IGeometryHost.UpdateGeometryLuminosity Method (DiagramClientView, Pen)
Modifies the luminosity of the specified 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
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.DiagramClientViewThe DiagramClientView which may maintain useful highlighting information.
pen
Type: System.Drawing.PenThe 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.