I'm currently successfully adding text to a PDF using iTextSharp's ShowTextAligned method. The method looks like this (C#):
public void ShowTextAligned(
However, it is unclear where the anchor point is for the text we're making. We provide x and y, but does these correspond to the upper left corner of the text rectangle, the lower left corner, or something else? Also is this impacted by line spacing?
I looked at the documentation at this website, but it isn't very explanatory. See PdfContentByte Class / PdfContentByte Methods / ShowTextAligned Method.