[]
        
(Showing Draft Content)

FarPoint.Win.Spread.DrawingSpace.LineShape.-ctor

LineShape Constructor

LineShape()

Creates a new line shape.

Declaration
public LineShape()
Public Sub New()

LineShape(Point, Point)

Creates a new line shape.

Declaration
public LineShape(Point startPoint, Point endPoint)
Public Sub New(startPoint As Point, endPoint As Point)
Parameters
Type Name Description
Point startPoint

Start point of line

Point endPoint

End point of line

LineShape(SerializationInfo, StreamingContext)

Creates a new line shape object from serialization.

Declaration
public LineShape(SerializationInfo info, StreamingContext context)
Public Sub New(info As SerializationInfo, context As StreamingContext)
Parameters
Type Name Description
SerializationInfo info

Object that holds the serialized object data

StreamingContext context

Contexual information about the source or destination of the serialization

LineShape(LineShape)

Creates a new shape that is a copy of the specified shape.

Declaration
public LineShape(LineShape shape)
Public Sub New(shape As LineShape)
Parameters
Type Name Description
LineShape shape

Shape to copy.