[]
        
(Showing Draft Content)

GrapeCity.SpreadBuilder.Imaging.LineInfo.-ctor

LineInfo Constructor

LineInfo(int, short, int, short, int, short, int, short, ObjectDirection, int, LineStyles, Color, bool, SBFloatingMoveType, LineArrowHeadStyles, LineArrowHeadWidths, LineArrowHeadLengths, LineArrowHeadStyles, LineArrowHeadWidths, LineArrowHeadLengths)

Create a LineInfo class with setting all the fields and properties.

Declaration
public LineInfo(int columnLeft, short dxL, int rowTop, short dyT, int columnRight, short dxR, int rowBottom, short dyB, ObjectDirection iQu, int weight, LineStyles style, Color netColor, bool fAuto, SBFloatingMoveType MoveType, LineArrowHeadStyles StartAHStyle, LineArrowHeadWidths StartAHWidth, LineArrowHeadLengths StartAHLength, LineArrowHeadStyles EndAHStyle, LineArrowHeadWidths EndAHWidth, LineArrowHeadLengths EndAHLength)
Parameters
Type Name Description
int columnLeft

The one-based column containing the upper-left corner of the line's bounding rectangle.

short dxL

The X (horizontal) position of the upper-left corner of the object's bounding rectangle, relative to the left side of the underlying cell (specified in colL), expressed as 1/1024th of the cell width.

int rowTop

The one-based row containing the upper-left corner of the line's bounding rectangle.

short dyT

The Y (vertical) position of the upper-left corner of the object's bounding rectangle, relative to the top of the underlying cell, expressed as 1/1024th of the cell height.

int columnRight

The one-based column containing the lower right corner of the line's bounding rectangle.

short dxR

The X (horizontal) position of the lower right corner of the object's bounding rectangle, relative to the left side of the underlying cell, expressed as 1/1024th of the cell width.

int rowBottom

The one-based row containing the lower right corner of the line's bounding rectangle.

short dyB

The Y (vertical) position of the lower right corner of the object's bounding rectangle, relative to the top of the underlying cell, expressed as 1/1024th of the cell height.

ObjectDirection iQu

The direction of the line. Use GrapeCity.SpreadBuilder.Escher.LineDirections constants to define the "quadrant index."

int weight

The thickness of the line.

LineStyles style

The style of the line.

Color netColor

The System.Drawing.Color for the line.

bool fAuto

Excel automatic border option.

SBFloatingMoveType MoveType

The options users will have for moving or resizing the line in the spreadsheet.

LineArrowHeadStyles StartAHStyle

The style of the starting arrowhead.

LineArrowHeadWidths StartAHWidth

The width of the starting arrowhead.

LineArrowHeadLengths StartAHLength

The length of the starting arrowhead.

LineArrowHeadStyles EndAHStyle

The style of the ending arrowhead.

LineArrowHeadWidths EndAHWidth

The width of the ending arrowhead.

LineArrowHeadLengths EndAHLength

The length of the ending arrowhead.

LineInfo()

The default constructor for the LineInfo class.

Declaration
public LineInfo()