'Declaration
Public Overloads Sub DrawImage( _ ByVal img As WriteableBitmap, _ ByVal rc As Rect, _ ByVal align As ContentAlignment, _ ByVal stretch As Stretch _ )
public void DrawImage( WriteableBitmap img, Rect rc, ContentAlignment align, Stretch stretch )
Parameters
- img
- System.Windows.Media.Imaging.WriteableBitmap object to draw.
- rc
- System.Windows.Rect structure that specifies the location of the drawn image, in points from the top left corner of the page.
- align
- ContentAlignment value that specifies how the image should be aligned within the rectangle.
- stretch
- System.Windows.Media.Stretch value that specifies how the image should be sized to fit the rectangle.