Import in Blend for Visual Studio 2013 as vector graphic - xaml

Importing an Adobe Illustrator file in Blend for Visual Studio 2013 adds a Canvas and images to my project. But if images are added the import is not a vector graphic any more, right?
I hoped I could import that .ai file, resulting in a Path object, so that I have a vector graphic that could be dynamically scaled by window size in my Visual Studio project.
Is there any solution for that?

I haven't used blend so i am not sure about this issue, but as i understand expression design 4 is now free and can open ai files to convert to xaml. Also i think there are svg to xaml converters if u can get the vector file as svg.

Related

Create a gif from an array of bitmap vb.net (visual studio 2013)

My goal is to creat a gif from (42) images that I got (screenshots from a graphic after a small rotation).
I managed to find some ways to do it, but each time I must instal some package/component/library (I'm not familiar with those...)
A gif is a succession of images right? Isn't there a easy way to "stick" those image on after an other as a gif? Or there is nothing in visual studio for that (I found somewhere in the project tab ---> add a component ---> image.gif but i can't manage to do anything with it)

How can I export Graphical Shapes (like ellipse) created in editor, to XAML code?

I wish to know that if I create any shape like rectangle or ellipse or any polygon in my graphics editor, then how can I get the XAML Code For that. I mean I create any shape (eg. ellipse) in the editor which I have created. The editor has an option (Export to XAML) in the file menu. Then do I have to write some code for that? What is the solution?
I am a little confused by your question because you are asking how to get the code for the shape from your editor yet have already mentioned in the same sentence that it has an "Export to XAML" option in the menu.
I am going to assume that you mean "How can I consume the exported XAML code".
You need to export the shape to XAML (save the file somewhere) and open the XAML file that it creates when you export, this will likely be a canvas.
You can then place the canvas within the usercontrol or window that you would like to display it with.
Instead of using your own editor, you can try Microsoft Expression Blend or Microsoft Visual Studio, so that while design the shapes in the designer, respective XAML code will also be generated in the same file itself.

Blend, big xaml files (cad)

I'm trying to import cad model into blend and then make some storyboard on it.
Idea was to export xaml file from solidworks and then import it to blend.
File open in blend, model is displayed correctly and every thing works until i zoom/move or make any action that results in immediate program crash.
Xaml file is about 5mb, and outside blend works fine in my program i can rotate,zoom it freely with good performance.
Have anyone encountered similar problem, or have good method for converting cad->xaml.
I did when working on an augmented reality feature in a desktop aplication.
My solution was to convert the object to fbx format and use the XMA game studio controls to view it. Then I was able to do what I wish in blend.

Windows 8 xaml - Best practices: From design mockup to App?

What are the best practices for Windows 8 xaml apps to bring in the Visual Design assets?
We started designing our app in Adobe Illustrator so all graphics would be vector based and scalable. Now we have the screen designs, but can't find a way to bring them into the actual app (xaml/c#) . I thought there is a way to import SVG to Visual Studio or Blend, but we can't find it. For Windows Phone there even was an Illustrator import feature.
The Import from Illustrator feature is missing from the current version of Blend, unfortunately. You can however use Expression Blend 4 to import the relevant XAML form Illustrator and then copy/paste into Blend 5.
Cheers
Laurent

Importing an Image into Visual Studio to Code

I don't feel as if what I'm asking is ridiculous. Would I be able to import an image of any kind (png, jpeg, etc) into visual studio and then define regions/hotspots to code as buttons? It would kind of be like an expression blend/silverlight thing but if I already had the design in an image format and I just need to put code behind it.
Expression Studio contains tools that can meet your requirements,
http://www.microsoft.com/expression/products/Design_WhatIsExpressionDesign.aspx
For example, by using Design, you can import existing images and export XAML directly, which can later be used in your Visual Studio/Expression Blend projects.
You have to use such separate tools, such as Visual Studio does not have such features built in.
I have done this with an imagemap and hotspots over button graphics in an image the aspx page.