Accusoft.PdfXpress7.Net
AddImage(Int32,Double,Double,Double,Double,ImageFitSettings,Byte[],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 contains information for the fit of the image file.
A byte array which stores the source image information in memory.
An integer value which represents the source image page number.
Adds an image from an image file in memory 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 sourceImageMemory() As Byte, _
   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 sourceImageMemory() As Byte
Dim sourceImagePageNumber As Integer
 
instance.AddImage(pageNumber, destinationX, destinationY, destinationWidth, destinationHeight, destinationFit, sourceImageMemory, 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 contains information for the fit of the image file.
sourceImageMemory
A byte array which stores the source image information in memory.
sourceImagePageNumber
An integer value which represents the source image page number.
See Also

Reference

Document Class
Document Members
Overload List

 

 


©2018. Accusoft Corporation. All Rights Reserved.

Send Feedback