ComponentOne Word for WinForms
C1.C1Word.4.5.2 Assembly / C1.C1Word.Canvas Namespace / LightningBoltShape Class / LightningBoltShape Constructor / LightningBoltShape Constructor(IShapeContainer,Int32,Int32,Int32,Int32)
IShapeContainer object that owns the shape container.
The horizontal position of the begin line, in twips.
The vertical position of the begin line, in twips.
The horizontal position of the end line, in twips.
The vertical position of the end line, in twips.

In This Topic
    LightningBoltShape Constructor(IShapeContainer,Int32,Int32,Int32,Int32)
    In This Topic
    Initializes a new instance of a LightningBoltShape.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal container As IShapeContainer, _
       ByVal x1 As System.Integer, _
       ByVal y1 As System.Integer, _
       ByVal x2 As System.Integer, _
       ByVal y2 As System.Integer _
    )
    public LightningBoltShape( 
       IShapeContainer container,
       System.int x1,
       System.int y1,
       System.int x2,
       System.int y2
    )

    Parameters

    container
    IShapeContainer object that owns the shape container.
    x1
    The horizontal position of the begin line, in twips.
    y1
    The vertical position of the begin line, in twips.
    x2
    The horizontal position of the end line, in twips.
    y2
    The vertical position of the end line, in twips.
    See Also