Initializes a new instance of the DiagramPaintEventArgs class.
Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
Public Sub New ( _
    graphics As Graphics, _
    clipRectangle As Rectangle, _
    diagramClientView As DiagramClientView, _
    paintChildShapes As Boolean _
)
public DiagramPaintEventArgs(
    Graphics graphics,
    Rectangle clipRectangle,
    DiagramClientView diagramClientView,
    bool paintChildShapes
)
public:
DiagramPaintEventArgs(
    Graphics^ graphics, 
    Rectangle clipRectangle, 
    DiagramClientView^ diagramClientView, 
    bool paintChildShapes
)
new : 
        graphics:Graphics * 
        clipRectangle:Rectangle * 
        diagramClientView:DiagramClientView * 
        paintChildShapes:bool -> DiagramPaintEventArgs
public function DiagramPaintEventArgs(
    graphics : Graphics, 
    clipRectangle : Rectangle, 
    diagramClientView : DiagramClientView, 
    paintChildShapes : boolean
)
Parameters
graphics
Type: System.Drawing.GraphicsThe Graphics object used to paint.
clipRectangle
Type: System.Drawing.RectangleThe clipping region in device units
diagramClientView
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientViewThe view that the Graphics object belongs to. This may be null if the Graphics object does not belong to one.
paintChildShapes
Type: System.BooleanA value indicating whether the child shapes should be painted.
.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.