Gets an array with the positions of the borders between every column.
Namespace: iTextSharp.textAssembly: ITextSharp (in ITextSharp.dll) Version: 4.1.6.0
Syntax
C# |
---|
public float[] GetWidths( float left, float totalWidth ) |
Visual Basic |
---|
Public Function GetWidths ( _ left As Single, _ totalWidth As Single _ ) As Single() |
Visual C++ |
---|
public: array<float>^ GetWidths( float left, float totalWidth ) |
Parameters
- left
- Type: System..::..Single
this is the position of the first border at the left (cellpadding not included)
- totalWidth
- Type: System..::..Single
this is the space between the first border at the left and the last border at the right (cellpadding not included)
Return Value
an array with borderpositions
Remarks
This method translates the widths expressed in percentages into the
x-coordinate of the borders of the columns on a real document.