Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic PocketChart background image scaling (Read 3600 times)
hjt
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 2
Joined: Jun 25th, 2013
PocketChart background image scaling
Jun 25th, 2013 at 8:11am
Print Post  
Hello,

i am evaluating pocketchart (on windows mobile 6).
If i use a background image, it is gets skewed (scaled in width and height in different factors)
How can i control this behavior?

Code
Select All
Me.fc = New MindFusion.Diagramming.Compact.FlowChart
Me.fc.Location = New System.Drawing.Point(0, 48)
Me.fc.Name = "fc"
Me.fc.Size = New System.Drawing.Size(310, 134)
Me.fc.Text = "FlowChart1"


Dim img As Image = New Bitmap("bild.jpg")
fc.BackgroundImage = img
 



Mit freundlichen Grüssen

Hans-Jörn Thöming

PCNet edv Service GmbH
Handelsregister Rendsburg
HRB 1493
Geschäftsführer
Marco Schwiersch, Jens Groth
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: PocketChart background image scaling
Reply #1 - Jun 25th, 2013 at 9:44am
Print Post  
Hi,

The background image is always scaled to fill flowchart.DocExtents. Instead of setting that property, you could use a locked background Box object to display the image, and set its size to match the image width/height ratio.

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


I Love MindFusion!

Posts: 2
Joined: Jun 25th, 2013
Re: PocketChart background image scaling
Reply #2 - Jun 25th, 2013 at 1:46pm
Print Post  
Thank you - it works Smiley
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint