GrapeCity.Xaml.SpreadSheet.Data
CalcDoubleLayout Method


GrapeCity.Xaml.SpreadSheet.Data Namespace > BorderLineLayoutEngine Class : CalcDoubleLayout Method
The specified LineItem object.
The horizontal offset of the LineItem object.
The vertical offset of the LineItem object.
The direction of the LineItem object.
The x1.
The x2.
The y1.
The y2.
The X1_1.
The X1_3.
The X2_1.
The X2_3.
The y1_1.
The y1_3.
The y2_1.
The y2_3.
Calculates the layout of a double LineItem object.
Syntax
'Declaration
 
Public Shared Sub CalcDoubleLayout( _
   ByVal lineItem As LineItem, _
   ByVal hOffset As Double, _
   ByVal vOffset As Double, _
   ByVal direction As Integer, _
   ByRef x1 As Double, _
   ByRef x2 As Double, _
   ByRef y1 As Double, _
   ByRef y2 As Double, _
   ByRef x1_1 As Double, _
   ByRef x1_3 As Double, _
   ByRef x2_1 As Double, _
   ByRef x2_3 As Double, _
   ByRef y1_1 As Double, _
   ByRef y1_3 As Double, _
   ByRef y2_1 As Double, _
   ByRef y2_3 As Double _
) 
'Usage
 
Dim lineItem As LineItem
Dim hOffset As Double
Dim vOffset As Double
Dim direction As Integer
Dim x1 As Double
Dim x2 As Double
Dim y1 As Double
Dim y2 As Double
Dim x1_1 As Double
Dim x1_3 As Double
Dim x2_1 As Double
Dim x2_3 As Double
Dim y1_1 As Double
Dim y1_3 As Double
Dim y2_1 As Double
Dim y2_3 As Double
 
BorderLineLayoutEngine.CalcDoubleLayout(lineItem, hOffset, vOffset, direction, x1, x2, y1, y2, x1_1, x1_3, x2_1, x2_3, y1_1, y1_3, y2_1, y2_3)
public static void CalcDoubleLayout( 
   LineItem lineItem,
   double hOffset,
   double vOffset,
   int direction,
   out double x1,
   out double x2,
   out double y1,
   out double y2,
   out double x1_1,
   out double x1_3,
   out double x2_1,
   out double x2_3,
   out double y1_1,
   out double y1_3,
   out double y2_1,
   out double y2_3
)

Parameters

lineItem
The specified LineItem object.
hOffset
The horizontal offset of the LineItem object.
vOffset
The vertical offset of the LineItem object.
direction
The direction of the LineItem object.
x1
The x1.
x2
The x2.
y1
The y1.
y2
The y2.
x1_1
The X1_1.
x1_3
The X1_3.
x2_1
The X2_1.
x2_3
The X2_3.
y1_1
The y1_1.
y1_3
The y1_3.
y2_1
The y2_1.
y2_3
The y2_3.
See Also

Reference

BorderLineLayoutEngine Class
BorderLineLayoutEngine Members