GrapeCity.Xaml.SpreadSheet.Data
CalcNormalLayout 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.
Calculates the layout of a normal LineItem object.
Syntax
'Declaration
 
Public Shared Sub CalcNormalLayout( _
   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 _
) 
'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
 
BorderLineLayoutEngine.CalcNormalLayout(lineItem, hOffset, vOffset, direction, x1, x2, y1, y2)
public static void CalcNormalLayout( 
   LineItem lineItem,
   double hOffset,
   double vOffset,
   int direction,
   out double x1,
   out double x2,
   out double y1,
   out double y2
)

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.
Requirements

Target Platforms: Windows Server 2012, Windows RT

See Also

Reference

BorderLineLayoutEngine Class
BorderLineLayoutEngine Members

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options