New version of Ab2d.ReaderSvg and Ab2d.ReaderWmf available

by abenedik 8. July 2008 09:04

Based on great users feedback both svg and metafile importer libraries were improved.

New in Ab2d.ReaderSvg library v1.7:

  • Improved reading text - added support for nested tspan elements inside text.
  • Fixed reading text-anchor when defined in parent elements.
  • Improved reading svg files with missing xmlns declarations.
  • Improved performance when reading text. Also now more fonts are rendered correctly.
  • Fixed reading embedded images (sometime the bounds of the TextureBrush) were not read correctly.

New in Ab2d.ReaderWmf library v1.4:

  • Added support for pen's LineJoin, LineCap and Dash Style.
  • Added support for Arc.
  • Improved placing text in some metafiles.
  • Corrected the width of the lines.
  • Correctly use Polyline and Polygon.

New versions are available from www.ab4d.com/Overview2d.aspx.

The commercial versions for both Ab2d.ReaderSvg and Ab2d.ReaderWmf will be available soon - probably in one month time. This makes the published versions the last freely available versions. Both will expire on 31th December 2008.

Thank you to all who have provided feedback on the Ab2d libraries.

Tags: , , , , ,

ReaderSvg | ReaderWmf

Explore the power that Silverlights brings to the web with two new tutorials

by abenedik 16. April 2008 17:10

Silverlight Excel application
The first tutorial describes how to convert an excel graph to a Silverlight application with Paste2Xaml tool. To show the power of Silverlight we add a starup animation and a dynamicaly showing graph data on moving the mouse over graph's bars. The full source code is also available.
TRY Silverlight Excel application
Silverlight EU Countries application
The second, more advanced, tutorial shows how to convert a map of EU countries in svg file to a Silverlight application with ViewerSvg. The tutorial will also show how to read the data from xml file and how to use data binding. The application will show the basic data about the country that is selected with the mouse. There is also a slider that shows when the countries were joining the EU.
TRY Silverlight EU Countries application

The tutorials can be found at www.ab4d.com/HowToMenu.aspx.

Tags: , , ,

ReaderSvg | ReaderWmf | Tutorial

Silverlight? Yes, the new Paste2Xaml and ViewerSvg support Silverlight!

by abenedik 31. March 2008 00:30

A while ago I spoke with Matevz Gacnik (his great blog: www.request-response.com/blog). He just came from MIX08 and told me that Silverlight is hot. Very hot! "You should implement support for it as soon as possible!" he said.

He is Microsoft's MVP. That means his advice should be taken seriously. So I postponed my current work - preparing a commercial version of Reader3ds.

Now I am proud to announce that new version of Paste2Xaml and ViewerSvg support Silverlight.

The following screenshots shows the new ViewerSvg with opened svg file and Export dialog:
ViewerSvg application
ViewerSvg export options

Now it is possible to use almost any 2D or 3D drawing application to create user interface elements for Silverlight applications. You can draw it in Adobe® Illustrator®, CorelDRAW®, Inkscape, Microsoft Visio or other vector drawing application, save the work in svg file and use ViewerSvg to convert the drawing into xaml. If the application support save into Windows metafile (wmf or emf) like Autocad, it is possible to use Paste2Xaml to convert the saved metafile into xaml. If it is not possible to save the drawing into svg or metafile you can use copy and paste the drawing into Paste2Xaml. This can be used for example for converting graphs from Excel or WordArt from Microsoft Work into xaml. Also there are already huge internet image libraries that can be a great source for user interface elements (see Links section).

So you can use your favorite drawing application and simply draw the user interface of your WPF or Silverlight application in it.

There are also some other improvements and bug fixes:

New in Paste2Xaml library v1.3:

  • Added support for silverlight.
  • Added objects tree view with rename option - possible to export elements with name (so they can be manipulated later from the code).
  • Added select object with mouse.


New in ViewerSvg library v1.3:

  • Added support for silverlight.
  • Added object selection with mouse.
  • Added export dialog with xaml text and preview tabs.
  • Added selecting number of decimals in the exported xaml (useful for optimizing the size of exported xaml).
  • Added possibility to export only selected elements.


New in ReaderSvg library v1.6:

  • Fixed reading number in exponent format (for example 1.234e-3) in transform element. This fixed the problems when some elements in the read image were placed on the wrong location and with the wrong size.


New in ReaderWmf library v1.3:

  • Fixed problems with some wmf files that were imported with some anomalies (lost details)

New version of all the Ab2d tools and libraries is available from www.ab4d.com/Overview2d.aspx.

Tags: , , , , ,

ReaderSvg | ReaderWmf

New version of ReaderSvg and ViewerSvg published.

by abenedik 9. July 2007 00:47

ReaderSvg has now improved text support. In previous version all text were converted to paths. This made simpel svg files with text very complex in WPF. In new version text that do not have some special stroke or fill is converted into simple TextBlock. There is also a new property UseSimpleText that can forec conveting text into TextBlock even if text has some special storke or fill. The svg reading is also imporved.

ViewerSvg has also been slights improved.

See www.ab4d.com/Overview2d.aspx for more.

Tags: , ,

ReaderSvg