DrawElement(FrameworkElement,Rect,ContentAlignment,Stretch) Method
In This Topic
Draws the specified
System.Windows.Media.Imaging.WriteableBitmap object at the specified location, adjusting the image size as specified by the and parameters.
Syntax
Parameters
- e
- System.Windows.FrameworkElement to render into the document.
- rc
- The rectangle structure that specifies the location of the drawn element, in points from the top left corner of the page.
- align
- ContentAlignment value that specifies how the element should be aligned within the rectangle.
- stretch
- System.Windows.Media.Stretch value that specifies how the element should be sized to fit the rectangle.
See Also