You are here: GdPicture.NET > Documentation > Classes > GdPictureImaging Class > GdPictureImaging Methods > PDF Creation > Low-level Functions > PdfGetImageWidth Method
logo.gif
ContentsIndexHome
PreviousUpNext
GdPictureImaging.PdfGetImageWidth Method

Returns the width of an image previously added to a PDF.

C#
public Single PdfGetImageWidth(
    int PdfID, 
    int PdfImageNo
);
Visual Basic
Public Function PdfGetImageWidth(
    ByVal PdfID As Integer, 
    ByVal PdfImageNo As Integer
) As Single
Parameters
Parameters 
Description 
PdfID 
A PDF identifier returned by the PdfNewPdf(), PdfOCRStart(), PdfOcrStartStream(), TwainPDFStart() or TwainPdfStartStream() function. 
PdfImageNo 
Value returned by the PdfAddImageFromFile or the PdfAddImageFromGdPictureImage function.  
Returns

Width of the specified image in current unit defined by the PdfSetMeasurementUnit() function

What do you think about this topic? Send feedback!
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.