PdfGetImageWidth Method

See Also     Examples     Applies To

Returns the width of an image previously added to the native pdf created by the PdfNewPdfEx() function.

Syntax

object.PdfGetImageWidth (nPdfImageNo)

The PdfGetImageWidth 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.

Returns

Single. Width of the specified image 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.