LineInfo Constructor(Int32,Int16,Int32,Int16,Int32,Int16,Int32,Int16,ObjectDirection,Int32,LineStyles,Color,Boolean,SBFloatingMoveType,LineArrowHeadStyles,LineArrowHeadWidths,LineArrowHeadLengths,LineArrowHeadStyles,LineArrowHeadWidths,LineArrowHeadLengths)
In This Topic
Create a LineInfo class with setting all the fields and properties.
Syntax
'Declaration
Public Function New( _
ByVal columnLeft As Integer, _
ByVal As Short, _
ByVal As Integer, _
ByVal As Short, _
ByVal columnRight As Integer, _
ByVal As Short, _
ByVal As Integer, _
ByVal As Short, _
ByVal As ObjectDirection, _
ByVal As Integer, _
ByVal As LineStyles, _
ByVal As Color, _
ByVal As Boolean, _
ByVal As SBFloatingMoveType, _
ByVal As LineArrowHeadStyles, _
ByVal As LineArrowHeadWidths, _
ByVal As LineArrowHeadLengths, _
ByVal As LineArrowHeadStyles, _
ByVal As LineArrowHeadWidths, _
ByVal As LineArrowHeadLengths _
)
public LineInfo(
int columnLeft,
short ,
int ,
short ,
int columnRight,
short ,
int ,
short ,
ObjectDirection ,
int ,
LineStyles ,
Color ,
bool ,
SBFloatingMoveType ,
LineArrowHeadStyles ,
LineArrowHeadWidths ,
LineArrowHeadLengths ,
LineArrowHeadStyles ,
LineArrowHeadWidths ,
LineArrowHeadLengths
)
Parameters
- columnLeft
- The one-based column containing the upper-left corner of the line's bounding rectangle.
- 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's width.
- rowTop
- The one-based row containing the upper-left corner of the line's bounding rectangle.
- 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's height.
- columnRight
- The one-based column containing the lower-right corner of the line's bounding rectangle.
- 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's width.
- rowBottom
- The one-based row containing the lower-right corner of the line's bounding rectangle.
- 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's height.
- iQu
- The direction of the line. Use GrapeCity.SpreadBuilder.Escher.LineDirections constants to define the "quadrant index."
- weight
- The thickness of the line.
- style
- The style of the line.
- netColor
- The System.Drawing.Color for the line.
- fAuto
- Excel automatic border option.
- MoveType
- The options users will have for moving or resizing the line in the spreadsheet.
- StartAHStyle
- The style of the starting arrowhead.
- StartAHWidth
- The width of the starting arrowhead.
- StartAHLength
- The length of the starting arrowhead.
- EndAHStyle
- The style of the ending arrowhead.
- EndAHWidth
- The width of the ending arrowhead.
- EndAHLength
- The length of the ending arrowhead.
See Also