ComponentOne Word for UWP
C1.UWP.Word Assembly / C1.Xaml.Word.Canvas Namespace / DiamondShape Class / DiamondShape Constructor / DiamondShape 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
    DiamondShape Constructor(IShapeContainer,Int32,Int32,Int32,Int32)
    In This Topic
    Initializes a new instance of a DiamondShape.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal container As IShapeContainer, _
       ByVal x1 As Integer, _
       ByVal y1 As Integer, _
       ByVal x2 As Integer, _
       ByVal y2 As Integer _
    )
    public DiamondShape( 
       IShapeContainer container,
       int x1,
       int y1,
       int x2,
       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