Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic CreateImageMap (Read 1339 times)
wyang
YaBB Newbies
*
Offline



Posts: 10
Joined: Jan 14th, 2007
CreateImageMap
Mar 5th, 2007 at 3:38am
Print Post  
I have a problem viewing the background image of the flowchart in the website. The background image works fine in the Windows Form but not website.

Here is the code:



flowChart.DocExtents = new RectangleF(0, 0, 1000, 2500);

flowChart.BackgroundImageLayout = ImageLayout.Tile;

flowChart.BkgrImagePos = ImageAlign.Tile;

flowChart.BackgroundImage = "C:\test.png";




The background image showed in the website does not cover the whole flowchart (which has RectangleF width of 1000 and height of 2500).

When I change the RectangleF width and height become 800, the background image covers the whole flowchart.

Whenever I change the width and height of the RectangleF more than 800, the background image will only cover the top left 800x800 part.

Could you explain how to expand the background image based on the RectangleF width and height?

Thanks.

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: CreateImageMap
Reply #1 - Mar 5th, 2007 at 5:57am
Print Post  
What happens if you set

flowChart.BkgrImagePos = ImageAlign.Tile | ImageAlign.Document;

?

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