'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
- Windows.UI.Xaml.Media.Imaging.WriteableBitmap object to draw.
- rc
- Windows.Foundation.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
- Windows.UI.Xaml.Media.Stretch value that specifies how the image should be sized to fit the rectangle.