I HATE WRITEABLEBITMAP
Great!!! I have created a stackpanel height=1px width=1px hidden into the main form and i have added the images to it, and now magically the function works fine! I don't understand why, but now it...
View ArticleI HATE WRITEABLEBITMAP
The problem is that the attempt to force off-screen rendering of the Image objects didn't work. You'll see the difference if you render them on-screen by adding this to the end of MainPage_Loaded:...
View ArticleI HATE WRITEABLEBITMAP
I have created a sample project with the problemthis is the linkSAMPLE
View ArticleI HATE WRITEABLEBITMAP
Hi Daniele,Can you start a new project and get the example to work that was posted in the Silverlight thread? By the way, the poster to the workaround there was the actual developer of the...
View ArticleI HATE WRITEABLEBITMAP
I try to explain better with an image This function is last one of mine project, i created a mixed XNA-Silverlight application, in about a week i have created all the game, (the board, the sprites...
View ArticleI HATE WRITEABLEBITMAP
Are the UIElements, such as _objBlue, simple UIElements or do they represent a parent UIElement containing child UIElements? If they are not simple, you need to measure and arrange the children,...
View ArticleI HATE WRITEABLEBITMAP
I tried to use .Measure() .Arrange() on the image objects that i use (only _objFucsia, blue and green) but the result is the same... But i don't need to show the result image into a user control (so a...
View ArticleI HATE WRITEABLEBITMAP
This topic has come up a few times. Silverlight tries to delay rendering until something is ready to be displayed, and indeed calling Measure() and Arrange() is a possible workaround.For another...
View ArticleI HATE WRITEABLEBITMAP
Hmm, this seems to be a WriteableBitmap behavior inherited from Silverlight. This link contains the explanation/answer:http://forums.silverlight.net/t/115371.aspx/1If the UI control being rendered is...
View ArticleI HATE WRITEABLEBITMAP
Yes sure, im quite sure that is async problem, because in debug jumping between line objWB.SaveJpeg(oMemoryStream, objWB.PixelWidth, objWB.PixelHeight, 0, 100) and oMemoryStream.Seek(0,...
View ArticleI HATE WRITEABLEBITMAP
Hi,Try single stepping through the code using the debugger (set a breakpoint at the beginning of the subroutine). If it is an async problem, the long delay between single steps will make the problem...
View ArticleI HATE WRITEABLEBITMAP
Yes ok, only to be consistent i added it, but still not working correctly!Tnx!ByexDaniele
View ArticleI HATE WRITEABLEBITMAP
Hi,FYI It looks like there is a missing objWB.Invalidate() that should follow your _pbjFucsia rendering, to be consistent.-MarkMark Chamberlain Sr. Escalation Engineer | Microsoft Developer Support |...
View ArticleI HATE WRITEABLEBITMAP
Hi guys,I'm trying to create at runtime a simple 81x81 bitmap, and store it into a database using byte array...This is the code i wrotePublic Sub CreateScreenShotRecord() Try Dim...
View Article