C1.Xaml.Pdf Namespace > C1PdfDocument Class > DrawImage Method : DrawImage(WriteableBitmap,Rect,ContentAlignment,Stretch) Method |
'Declaration
Public Overloads Sub DrawImage( _ ByVal img As WriteableBitmap, _ ByVal rc As Rect, _ ByVal align As ContentAlignment, _ ByVal stretch As Stretch _ )
'Usage
Dim instance As C1PdfDocument Dim img As WriteableBitmap Dim rc As Rect Dim align As ContentAlignment Dim stretch As Stretch instance.DrawImage(img, rc, align, stretch)
public void DrawImage( WriteableBitmap img, Rect rc, ContentAlignment align, Stretch stretch )
void DrawImage(UIElement e, Rect rc, ContentAlignment align, ImageSizeMode mode) { DrawImage(new WriteableBitmap(e, null), rc, align, mode); }
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