Page Index Toggle Pages: [1] 2  Send TopicPrint
Hot Topic (More than 10 Replies) TextFormat.LineAlignment (Read 8626 times)
maor
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 79
Joined: Mar 24th, 2009
TextFormat.LineAlignment
Apr 6th, 2009 at 3:32pm
Print Post  
Hi,

I'm tring to set the shape.TextFormat.LineAlignment property and nothing happend.

Thanks
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: TextFormat.LineAlignment
Reply #1 - Apr 6th, 2009 at 4:11pm
Print Post  
Hi,

Set shape.TextFormat = new StringFormat(StringAlignment.???, StringAlignment.???).

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
maor
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 79
Joined: Mar 24th, 2009
Re: TextFormat.LineAlignment
Reply #2 - Apr 7th, 2009 at 8:31am
Print Post  
Hi,

I see that, but what is the definisio of
StringAlignment.Near , StringAlignment.Far.

i tried this properties(shape.TextFormat = new StringFormat(StringAlignment.Near, StringAlignment.Center);)

and didnt see any changes.

Thanks
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: TextFormat.LineAlignment
Reply #3 - Apr 7th, 2009 at 2:51pm
Print Post  
Near means left or top, and Far means bottom or right.
  
Back to top
 
IP Logged
 
maor
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 79
Joined: Mar 24th, 2009
Re: TextFormat.LineAlignment
Reply #4 - Apr 13th, 2009 at 9:38am
Print Post  
Hi,

What is the first and the second StringAlignment?

Thanks
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: TextFormat.LineAlignment
Reply #5 - Apr 13th, 2009 at 10:20am
Print Post  
The first argument is for horizontal alignment, the second one for vertical alignment.
  
Back to top
 
IP Logged
 
maor
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 79
Joined: Mar 24th, 2009
Re: TextFormat.LineAlignment
Reply #6 - Apr 13th, 2009 at 10:22am
Print Post  
Thanks.
  
Back to top
 
IP Logged
 
maor
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 79
Joined: Mar 24th, 2009
Re: TextFormat.LineAlignment
Reply #7 - Apr 19th, 2009 at 11:39am
Print Post  
Hi,

i'm set text in my shapes(shapeText = item.Subject + "\n" + "need to near";)

, and set the allignment -

shape.TextFormat = new StringFormat(StringAlignment.Center, StringAlignment.Near);.

how can i send you attachment?(there is any email?)

Thanks.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: TextFormat.LineAlignment
Reply #8 - Apr 20th, 2009 at 7:13am
Print Post  
Seems we messed up the meaning of the parameters. This version should work as expected:
https://mindfusion.eu/_beta/diaglite_textalign.zip

or if using the old version, swap the StringFormat constructor arguments.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
maor
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 79
Joined: Mar 24th, 2009
Re: TextFormat.LineAlignment
Reply #9 - Apr 20th, 2009 at 7:41am
Print Post  
Hi,
I think there is another bug.

i sent you an attachment.(support@mindfusion.eu)

Thanks
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: TextFormat.LineAlignment
Reply #10 - Apr 20th, 2009 at 11:01am
Print Post  
Ok, I can see it now. Our developer will check it tomorrow.

Stoyan
  
Back to top
 
IP Logged
 
maor
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 79
Joined: Mar 24th, 2009
Re: TextFormat.LineAlignment
Reply #11 - Apr 20th, 2009 at 11:05am
Print Post  
Thanks!
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: TextFormat.LineAlignment
Reply #12 - Apr 22nd, 2009 at 8:05am
Print Post  
This version should fix the alignment problem for text on multiple lines:
https://mindfusion.eu/_beta/diaglite_multilinetext.zip

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
maor
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 79
Joined: Mar 24th, 2009
Re: TextFormat.LineAlignment
Reply #13 - Apr 22nd, 2009 at 8:06am
Print Post  
Thanks!

where can i find the last dll with all the fixes?

Thanks.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: TextFormat.LineAlignment
Reply #14 - Apr 22nd, 2009 at 9:30am
Print Post  
The dll form the link above is the last one. It should contain everything we've changed since the last release.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: [1] 2 
Send TopicPrint