Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic set a position for a box (Read 1145 times)
shil
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 22
Joined: Aug 9th, 2007
set a position for a box
Aug 13th, 2007 at 8:01am
Print Post  
hi there. i got some boxes that i want to print on the last page of my chart. i will attach this boxes to the right bottom conor of the last page, but i got no idea how i can do that.

my current code loks like this:

mXPosition = flowChart1.DocExtents.Right;
mYPosition = flowChart1.DocExtents.Bottom;

foreach (Thing item in mAllThings)
{
         Box newBox = flowChart1.CreateBox
                            (mXPosition, mYPosition, 30, 15);


          newBox.Style = BoxStyle.Rhombus;
          newBox.Text = item.Text;      
}
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: set a position for a box
Reply #1 - Aug 13th, 2007 at 9:19am
Print Post  
Hi,

If your problem is finding the document coordinates that correspond to the last page, check this thread:

http://mindfusion.org/cgi/Forum/YaBB.pl?board=fcnet_disc;action=display;num=1184...

Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint