Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Sub New ( _
graphics As Graphics, _
clipRectangle As Rectangle, _
diagramClientView As DiagramClientView, _
paintChildShapes As Boolean _
)
'使用
Dim graphics As Graphics
Dim clipRectangle As Rectangle
Dim diagramClientView As DiagramClientView
Dim paintChildShapes As Boolean
Dim instance As New DiagramPaintEventArgs(graphics, _
clipRectangle, diagramClientView, _
paintChildShapes)
public DiagramPaintEventArgs(
Graphics graphics,
Rectangle clipRectangle,
DiagramClientView diagramClientView,
bool paintChildShapes
)
public:
DiagramPaintEventArgs(
Graphics^ graphics,
Rectangle clipRectangle,
DiagramClientView^ diagramClientView,
bool paintChildShapes
)
public function DiagramPaintEventArgs(
graphics : Graphics,
clipRectangle : Rectangle,
diagramClientView : DiagramClientView,
paintChildShapes : boolean
)
Parameters
- graphics
Type: System.Drawing.Graphics
- clipRectangle
Type: System.Drawing.Rectangle
- diagramClientView
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView
- paintChildShapes
Type: System.Boolean
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.