Jump to content

Archived

This topic is now archived and is closed to further replies.

umer_izhar

Plz help me writing text with right alignment

Recommended Posts

I want to create pdf but there is a problem i cant find such code or function to write text with right alignment please help me.

Share this post


Link to post
Share on other sites
I use FPDF for creating pdf files (www.fpdf.org)

No problems with right align with that class.

You could always calculate the length of the text in pixels then subtract that from the x pos you want to align to.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.