PDF File Writer Class Library - Author Uzi Granot
PdfFontTextFitToWidth Method |
Word spacing to stretch text to given width
Namespace: PdfFileWriter
Assembly: PdfFileWriter (in PdfFileWriter.dll) Version: 1.1.24.0 (1.1.24.0)

C#
public bool TextFitToWidth( double FontSize, double ReqWidth, out double WordSpacing, out double CharSpacing, string Text )
Parameters
- FontSize
- Type: SystemDouble
Font size - ReqWidth
- Type: SystemDouble
Required width - WordSpacing
- Type: SystemDouble
Output word spacing - CharSpacing
- Type: SystemDouble
Output character spacing - Text
- Type: SystemString
Text
Return Value
Type: BooleanTrue-done, False-not done.
