PdfDrawImage Method

See Also     Examples     Applies To

Draws an image into the current page of the native pdf created by the PdfNewPdfEx() function.

Syntax

object.PdfDrawImage (nPdfImageNo, nDstX, nDstY, nWidth, nHeight)

The PdfDrawImage syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.
nPdfImageNo Required. Long. Value returned by the PdfAddImageFromFile or the PdfAddImageFromGdPictureImage function.
nDstX Required. Single. The X destination in current unit defined by the PdfSetMeasurementUnits() function.
nDstY Required. Single. The Y destination (from the bottom) in current unit defined by the PdfSetMeasurementUnits() function.
nWidth Required. Single. Width in current unit defined by the PdfSetMeasurementUnits() function.
nHeight Required. Single. Height in current unit defined by the PdfSetMeasurementUnits() function.

Remarks

This function can only be used with the native PDF created by the PdfNewPdfEx() function.

Category

PDF Functions





© Copyright 2008 GdPicture All rights reserved.
Documentation MAP.