ASE Home Page Products Download Purchase Support About ASE
ChartDirector General
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  text on bottom of image
Posted by Brandt on Feb-22-2013 05:03
I am trying to add text to the bottom of a generated png file.  When I look at the png, I see my text (using addTitle2 with 1 as the alignment).  The advsofteng.com unregistered shows up in yellow hiding my text.

I was wondering if there is a way to push my text up a line somehow and now be on the very bottom of the image.  The unregistered text is fine to be on there, I just don't want it showing over my text.

  Re: text on bottom of image
Posted by Peter Kwan on Feb-22-2013 23:06
Hi Brandt,

Yes. You may add a newline to your title text. In many programming languages, the newline, when represented in a string literal, is "\\n". For example, instead of using "ABCD 1234" as your title, you may use "ABCD 1234\\n". In this way, your title has a second line, which is empty, and it will push your orginal text "ABCD 1234" up one line, thereby avoiding the yellow bar.

Hope this can help.

Regards
Peter Kwan