private getTextWidth ( string text ) : float | ||
text | string | |
Résultat | float |
private float getTextWidth(string text)
{
var width = PdfFont.Fonts.First().BaseFont.GetWidthPoint(text, PdfFont.Size);
return width;
}