C1.Xaml.Pdf Namespace > C1PdfDocument Class > DrawImage Method : DrawImage(WriteableBitmap,Rect,Rect) Method |
'Declaration
Public Overloads Sub DrawImage( _ ByVal img As WriteableBitmap, _ ByVal rc As Rect, _ ByVal rcClip As Rect _ )
'Usage
Dim instance As C1PdfDocument Dim img As WriteableBitmap Dim rc As Rect Dim rcClip As Rect instance.DrawImage(img, rc, rcClip)
void DrawImage(UIElement e, Rect rc, Rect rcClip) { DrawImage(new WriteableBitmap(e, null), rc, rcClip); }
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2