HRESULT DrawImage ( LONG imageNumber, FLOAT left, FLOAT top, FLOAT width, FLOAT height, FLOAT angle ) |
This method places the image data into the current content stream for the page. The image will appear in the specified size (width, height) with one corner at (left, top) and will be rotated to the specified angle (in degrees). Positive values indicate counterclockwise rotation.
Use the ShowImage method if you want to draw an unscaled image.
imageIndex is returned by any image loading method, such as AddImageFromFile.
See the PageResolution property for examples.