[]
        
(Showing Draft Content)

FarPoint.Win.Spread.DrawingSpace.ArrowShape.-ctor

ArrowShape Constructor

ArrowShape()

Creates a new arrow shape.

Declaration
public ArrowShape()
Public Sub New()

ArrowShape(SerializationInfo, StreamingContext)

Creates a new arrow shape object from serialization.

Declaration
public ArrowShape(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

ArrowShape(ArrowShape)

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

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

Shape to copy.

ArrowShape(Point, Point, float)

Creates a new shape.

Declaration
public ArrowShape(Point startPoint, Point endPoint, float arrowTipWidth)
Public Sub New(startPoint As Point, endPoint As Point, arrowTipWidth As Single)
Parameters
Type Name Description
Point startPoint

Start point of arrow shape.

Point endPoint

End point of arrow shape.

float arrowTipWidth

The tip width of the arrow shape.

Exceptions
Type Condition
ArgumentException

Thrown when the arrowTipWidth value is less than or equal to zero