Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Print  text of DiagramLink on a Colored diagr (Read 1180 times)
khstar
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 19
Joined: Apr 23rd, 2009
Print  text of DiagramLink on a Colored diagr
Jun 17th, 2009 at 6:22am
Print Post  
When I printed out diagramlinks with a text on a Colored diagram, I found that the color of a diagram affect to a link text background color.
It is okay that color of the diagram doesn't show up in print.

Simply, I got an unwanted link text background color when print.

How can I fix it with source code?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Print  text of DiagramLink on a Colored diagr
Reply #1 - Jun 17th, 2009 at 6:56am
Print Post  
Hi,

Find the following comment in DiagramLink.cs:

// fill using the background brush

and replace the line below it:
System.Drawing.Brush backBrush = Parent != null ?

with this:

System.Drawing.Brush backBrush = (Parent != null && options.EnableBackground) ?

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
khstar
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 19
Joined: Apr 23rd, 2009
Re: Print  text of DiagramLink on a Colored diagr
Reply #2 - Jun 17th, 2009 at 7:46am
Print Post  
Hi stoyo~
It works great!
Thank you so much.

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