views:

18

answers:

1

Is there any way to change BitmapImage size in code? (Silverlight)

+1  A: 

You may try this approach. Do you need to support a specific Silverlight version?

EDIT: I have found WriteableBitmapEx to be really versatile and useful. Look at teichgraf's reply in the same thread for an example of how to use it.

HTH, indyfromoz

indyfromoz
Unfortunately, I was unable to connect WriteableBitmapEx to my project.
Sergey
>>Do you need to support a specific Silverlight version?Yes, 4.0
Sergey
Can you please explain "unable to connect WriteableBitmapEx to my project"? Have you added a reference to the DLL in your project?
indyfromoz