Page Index Toggle Pages: 1 [2]  Send TopicPrint
Hot Topic (More than 10 Replies) Flowchart.NET v5.2 beta (Read 6517 times)
andrz
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 6
Joined: Sep 29th, 2008
Re: Flowchart.NET v5.2 beta
Reply #15 - Feb 6th, 2009 at 12:00pm
Print Post  
I was testing the new Shape.EnableOutline property. It seems to work OK, but there are some problems (old and new ones) with an export of simple shapes. Export to PNG format is OK but exports to VISIO,SVG and PDF are invalid. Additionaly you have to set EnableOutline=true when exporting to SVG and PDF, otherwise an error occurs. Here is the definition of my sample shape:
Code
Select All
shp = new MindFusion.Diagramming.Shape(
                    new MindFusion.Diagramming.ElementTemplate[]
                    {
                        new RoundRectangleTemplate(0, 0, 100, 100, 2)
                    },
                    new MindFusion.Diagramming.ElementTemplate[]
                    {
                     new LineTemplate(50, 0, 50, 20 ),
                     new LineTemplate(50, 80, 50, 100),
                     new RoundRectangleTemplate(35, 20, 30, 60, 0.5F )

                    },
                    new ElementTemplate[]
                    {
                     new RoundRectangleTemplate(60, 20, 100, 80, 0)
                    },
                    System.Drawing.Drawing2D.FillMode.Winding, "Resistor"); 


I would attach the pictures of exported shapes, but I don't know how to do it.
  
Back to top
 
IP Logged
 
jf2020
Junior Member
**
Offline


I love FlowChart!

Posts: 63
Joined: Feb 23rd, 2006
Re: Flowchart.NET v5.2 beta
Reply #16 - Feb 6th, 2009 at 4:48pm
Print Post  
Good Day,

First sorry for the late reply. I hope I'm still on time for 5.2! I have tested the new version with the LaneGrid fixes and it works really good now.
I'm only having a very small issue:
- When I hook headers and scroll the grid to the left, I can no longer resize rows. Clearly the control thinks that the row headers have scrolled to the left as well.
-[s] I'm still having the problem of not being able to resize the height of the column headers. It works fine for the last line (the one between headers and cells) but it doesn't work for the intermediate lines (I have hierarchical column headers). I get the feedback just fine but headers are not resized. (note This works fine for hierarchical row Headers).  I've read what you said about constraints like min size but it really seems to be related to the fact that I'm using hierarchical headers.  [/s]

Edit:  The resize of the height of columns headers actually works fine!! I started my test program from the Lanes examples and kept this line in it
[code]grid.ColumnHeadersHeights = new float[] { 8, 8 };[/code]
I discovered today that the resize was working fine in the real app so I found this.  Sorry about that.

JF
« Last Edit: Feb 8th, 2009 at 8:33am by jf2020 »  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 [2] 
Send TopicPrint