Draws the specified
PdfImage at the specified location and with the specified size.
'Declaration
Public Overloads Function DrawImage( _
ByVal As PdfImage, _
ByVal As Double, _
ByVal As Double, _
ByVal As Double, _
ByVal As Double, _
ByVal As Double _
) As PdfSize
'Usage
Dim instance As PdfGraphics
Dim image As PdfImage
Dim x As Double
Dim y As Double
Dim width As Double
Dim height As Double
Dim rotation As Double
Dim value As PdfSize
value = instance.DrawImage(image, x, y, width, height, rotation)
Parameters
- image
- PdfImage to draw.
- x
- The x-coordinate of the upper-left corner of the drawn image.
- y
- The y-coordinate of the upper-left corner of the drawn image.
- width
- Width of the drawn image.
- height
- Height of the drawn image.
- rotation
- Rotation angle of the drawn image.
Return Value
The size of the drawn image.
Supported .NET Platforms: .NET 2.0 - .NET 4.6, Windows Forms, ASP.NET, Windows Presentation Foundation 4.x, Silverlight 5, WinRT, Universal Windows Platform, Windows Phone 8 & 8.1, Xamarin iOS & Android, Portable Class Library
Target Platforms:Windows 10, Windows 8.1, Windows 8 , Windows 7, Windows Vista SP1 or later, Windows Server 2008, Windows Server 2008 R2