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




An integer 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 value which describes how to fit the image on the page.
A string value which represents the filename of the image file.
An integer value which represents the source image page number.
Adds an image from an image file 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 sourceImageFilename As String, _
   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 sourceImageFilename As String
Dim sourceImagePageNumber As Integer
 
instance.AddImage(pageNumber, destinationX, destinationY, destinationWidth, destinationHeight, destinationFit, sourceImageFilename, sourceImagePageNumber)

Parameters

pageNumber
An integer 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 value which describes how to fit the image on the page.
sourceImageFilename
A string value which represents the filename of the image file.
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