04-07-2010, 01:34 PM
Hi,
I've just downloaded and tested the evaluation version "Ab2d.ReaderWmf.msi".
With Paste2Xaml I could create a valid xaml (export as: Silverlight, Import options: "Get Shapes")
But when I tried the same within source code, I got an invalid Silverlight-xaml export.
Example:
Ab2d.ReaderWmf reader = new Ab2d.ReaderWmf();
reader.Read(fileName);
string xaml = reader.GetXaml(new Ab2d.Common.ReaderWmf.SilverlightXamlWriterSettings());
System.IO.File.WriteAllText(fileName, xaml);
As I figured out, with xaml made by Paste2Xaml have some <Image/>-Tags whereas the code generated xaml contains <DrawingBrush/>-Tags.
I didn't find any options to change this.
Is this an evaluation behaviour?
Regards
Peter
I've just downloaded and tested the evaluation version "Ab2d.ReaderWmf.msi".
With Paste2Xaml I could create a valid xaml (export as: Silverlight, Import options: "Get Shapes")
But when I tried the same within source code, I got an invalid Silverlight-xaml export.
Example:
Ab2d.ReaderWmf reader = new Ab2d.ReaderWmf();
reader.Read(fileName);
string xaml = reader.GetXaml(new Ab2d.Common.ReaderWmf.SilverlightXamlWriterSettings());
System.IO.File.WriteAllText(fileName, xaml);
As I figured out, with xaml made by Paste2Xaml have some <Image/>-Tags whereas the code generated xaml contains <DrawingBrush/>-Tags.
I didn't find any options to change this.
Is this an evaluation behaviour?
Regards
Peter