PdfBaseTextShapeGetTextStartOffset Method (Double, Double) |
Gets the text start offset for a line of text. This is used to align text based on the alignment.
Namespace:
Atalasoft.PdfDoc.Generating.Shapes
Assembly:
Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public double GetTextStartOffset(
double textLength,
double spaceLength
)
Public Function GetTextStartOffset (
textLength As Double,
spaceLength As Double
) As Double
Parameters
- textLength
- Type: SystemDouble
Length of the text. - spaceLength
- Type: SystemDouble
Length of the space.
Return Value
Type:
DoubleA copy of this shape.
See Also