pdf - PDFsharp text formatting -
i saw this question doesn’t me.
the problem can write text pdf file, if new gfx.drawstring
put second text on first... like this....
here code used set new line:
gfx.drawstring(lbname.text + " " + lbnamei.text, font, xbrushes.black, new xrect(0, 0, page.width.point, page.height.point), xstringformats.topleft); gfx.drawstring(lbvorname.text + " " + lbvornamei.text, font, xbrushes.black, new xrect(0, 0, page.width.point, page.height.point), xstringformats.topleft);
i think has numbers in first argument (new xrect(0, 0,
) i’m not sure how set them please me.
i can't remember parameter which, discover yourself:
set 1 of numbers 20 on 1 of pieces of text; observe effect. change , change different number; observe effect.
Comments
Post a Comment