Accusoft PDF Xpress Control v7.0
AddImageFromMemory Method
A long value which represents the page number.
A double value which represents the x (horizontal) coordinate value for the image.
A double value which represents the y (vertical) coordinate value for the image.
A double value which represents the width for the image.
A double value which represents the height for the image.
A pdfImageFitSettings enumeration value.
A long value which represents the memory location of the image source.
A long value which represents the memory size of the image source.
A long value which represents the source image page number.
Description
Adds image data from memory to an existing page in a PDF document.
Syntax
Visual Basic
Public Sub AddImageFromMemory( _
   ByVal PageNumber As Long, _
   ByVal DestinationX As Double, _
   ByVal DestinationY As Double, _
   ByVal DestinationWidth As Double, _
   ByVal DestinationHeight As Double, _
   ByVal DestinationFit As pdfImageFitSettings, _
   ByVal SourceImageMemory As Long, _
   ByVal SourceImageMemorySize As Long, _
   ByVal SourceImagePageNumber As Long _
) 
Parameters
PageNumber
A long value which represents the page number.
DestinationX
A double value which represents the x (horizontal) coordinate value for the image.
DestinationY
A double value which represents the y (vertical) coordinate value for the image.
DestinationWidth
A double value which represents the width for the image.
DestinationHeight
A double value which represents the height for the image.
DestinationFit
ValueDescription
PDF_ImageFitGravityBottomAlign the bottom edge of the image with the bottom edge of the destination rectangle.
PDF_ImageFitGravityLeftAlign the top edge of the image with the top edge of the destination rectangle.
PDF_ImageFitGravityRightAlign the right edge of the image with the right edge of the destination rectangle.
PDF_ImageFitGravityTopAlign the left edge of the image with the left edge of the destination rectangle.
PDF_ImageFitGrowGrow the image, if necessary, to fit within the destination rectangle.
PDF_ImageFitNoneNo fit setting.
PDF_ImageFitShrinkShrink the image, if necessary, to fit within the destination rectangle.
PDF_ImageFitStretchStretch the image to completely fill the destination rectangle without retaining the aspect ratio of the source image.
A pdfImageFitSettings enumeration value.
SourceImageMemory
A long value which represents the memory location of the image source.
SourceImageMemorySize
A long value which represents the memory size of the image source.
SourceImagePageNumber
A long value which represents the source image page number.
See Also

PdfDocument Object  | PdfDocument Members

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback