ComponentOne Word for UWP
CanShape Constructor(IShapeContainer,Int32,Int32,Int32,Int32)

C1.UWP.Word Assembly > C1.Xaml.Word.Canvas Namespace > CanShape Class > CanShape Constructor : CanShape 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.
Initializes a new instance of a CanShape.
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 CanShape( 
   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

Reference

CanShape Class
CanShape Members
Overload List