Accusoft.PdfXpress7.Net
AddImage(Int32,Double,Double,Double,Double,ImageFitSettings,IntPtr,Int32) Method




An integer value which represents the existing page number in the PDF document.
A double value. DestinationX and destinationY specify the page coordinates at which to place the upper left corner of the image.
A double value. DestinationX and destinationY specify the page coordinates at which to place the upper left corner of the image.
A double value which represents the width of the image file.
A double value which represents the height of the image file.
An ImageFitSettings object which describes how to fit the image on the page.
An integer pointer which points to the source image information in memory.
An integer value which represents the image page number.
Adds an image from an image file in a HANDLE to an existing page in a PDF document.
Syntax
'Declaration
 
Public Overloads Sub AddImage( _
   ByVal pageNumber As Integer, _
   ByVal destinationX As Double, _
   ByVal destinationY As Double, _
   ByVal destinationWidth As Double, _
   ByVal destinationHeight As Double, _
   ByVal destinationFit As ImageFitSettings, _
   ByVal sourceImageHandle As IntPtr, _
   ByVal sourceImagePageNumber As Integer _
) 
'Usage
 
Dim instance As Document
Dim pageNumber As Integer
Dim destinationX As Double
Dim destinationY As Double
Dim destinationWidth As Double
Dim destinationHeight As Double
Dim destinationFit As ImageFitSettings
Dim sourceImageHandle As IntPtr
Dim sourceImagePageNumber As Integer
 
instance.AddImage(pageNumber, destinationX, destinationY, destinationWidth, destinationHeight, destinationFit, sourceImageHandle, sourceImagePageNumber)

Parameters

pageNumber
An integer value which represents the existing page number in the PDF document.
destinationX
A double value. DestinationX and destinationY specify the page coordinates at which to place the upper left corner of the image.
destinationY
A double value. DestinationX and destinationY specify the page coordinates at which to place the upper left corner of the image.
destinationWidth
A double value which represents the width of the image file.
destinationHeight
A double value which represents the height of the image file.
destinationFit
An ImageFitSettings object which describes how to fit the image on the page.
sourceImageHandle
An integer pointer which points to the source image information in memory.
sourceImagePageNumber
An integer value which represents the image page number.
See Also

Reference

Document Class
Document Members
Overload List

 

 


©2015. Accusoft Corporation. All Rights Reserved.

Send Feedback