Hi,
<DrawingImage x:Key="ShoppingIcon"><DrawingImage.Drawing><DrawingGroup><DrawingGroup.Children><GeometryDrawing Brush="#FFFFFFFF" Geometry="F1 M 142.892,-41.1384L 133.963,-50.0679C 133.317,-50.7142 132.253,-50.7142 131.607,-50.0679L 131.172,-49.6391L 142.463,-38.3479L 142.892,-38.7827C 143.544,-39.4289 143.544,-40.4863 142.892,-41.1384 Z "/><GeometryDrawing Brush="#FFFFFFFF" Geometry="F1 M 134.533,-34.124L 135.208,-33.4484C 135.854,-32.8022 136.918,-32.8022 137.564,-33.4484L 140.384,-36.2683L 138.527,-38.1188L 134.533,-34.124 Z "/><GeometryDrawing Brush="#FFFFFFFF" Geometry="M 137.446,-39.423L 137.288,-39.2644L 127.254,-49.2983L 127.412,-49.457C 127.577,-49.6214 127.794,-49.7095 128.023,-49.7095C 128.258,-49.7095 128.476,-49.6214 128.634,-49.457L 137.446,-40.645L 137.446,-40.645C 137.611,-40.4804 137.699,-40.2631 137.699,-40.034C 137.699,-39.8049 137.611,-39.5875 137.446,-39.423 Z M 132.071,-34.0477C 131.73,-33.7069 131.184,-33.7069 130.843,-34.0477L 122.037,-42.8538C 121.696,-43.1945 121.696,-43.7409 122.037,-44.0816L 125.333,-47.3773L 135.367,-37.3433L 132.071,-34.0477 Z M 138.281,-39.1058C 138.71,-39.7696 138.633,-40.6684 138.052,-41.25L 129.24,-50.0621C 128.57,-50.7318 127.477,-50.7318 126.807,-50.0621L 121.432,-44.6808C 120.762,-44.0111 120.762,-42.9243 121.432,-42.2487L 130.244,-33.4426C 130.914,-32.7729 132.006,-32.7729 132.676,-33.4426L 138.052,-38.8179C 138.14,-38.906 138.216,-39.0059 138.281,-39.1058 Z "/><GeometryDrawing Brush="#FFFFFFFF" Geometry="F1 M 124.287,-43.6116C 124.17,-43.7291 123.982,-43.7291 123.87,-43.6116C 123.753,-43.5001 123.753,-43.3121 123.87,-43.1945L 130.967,-36.098C 131.084,-35.9804 131.266,-35.9804 131.384,-36.098C 131.501,-36.2095 131.501,-36.3975 131.384,-36.5092L 124.287,-43.6116 Z "/><GeometryDrawing Brush="#FFFFFFFF" Geometry="F1 M 131.965,-37.0908C 132.077,-36.9791 132.265,-36.9791 132.382,-37.0908C 132.494,-37.2083 132.494,-37.3904 132.382,-37.5079L 130.808,-39.0822C 130.691,-39.1939 130.503,-39.1939 130.391,-39.0822C 130.273,-38.9648 130.273,-38.7827 130.391,-38.6652L 131.965,-37.0908 Z "/><GeometryDrawing Brush="#FFFFFFFF" Geometry="F1 M 124.863,-44.6044C 124.751,-44.4929 124.751,-44.3049 124.863,-44.1932L 128.687,-40.3688C 128.805,-40.2572 128.987,-40.2572 129.104,-40.3688C 129.216,-40.4863 129.216,-40.6684 129.104,-40.7859L 125.28,-44.6044C 125.168,-44.722 124.98,-44.722 124.863,-44.6044 Z "/></DrawingGroup.Children></DrawingGroup></DrawingImage.Drawing></DrawingImage>
The above code using Expression Blend, but when I import Illustrator file. Why it is fix and not fit in the container(Image,Stack ect)
Is it possible to creat scaleable vector from Illustrator? I am planning to create all ICon from Illustrator.
Note: I would like the Icon auto fit within the Container.