开发者

Get Image from UserControl - Silverlight

Right now i'm using ImageTools to load the image into a pdf using SilverPDF, the image that i'm loading is from the current LayoutGrid, however, i want to get the image from another user control, without navigating to it. First i thought that it would be as easy as Creating an instance of that user control and get into it's LayoutRoot property开发者_开发技巧 but that is not rendering correctly into the pdf (i get the controls overlaped) is there a way to "render" the control "in memory" without actually loading into the window?, any help is highly appreciated.

PD, the versions that i'm currently working are: .NET Framework 4.0, Silverlight 4.0 & C#

-Regards


usercontrol must be in visual tree.

you can add in LayoutGrid, take necessary for pdf and remove from LayoutGrid.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜