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

Adds an image from a GdPicture Image to a PDF.

C#
public int PdfAddImageFromGdPictureImage(
    int PdfID, 
    int ImageID
);
Visual Basic
Public Function PdfAddImageFromGdPictureImage(
    ByVal PdfID As Integer, 
    ByVal ImageID As Integer
) As Integer
Parameters
Parameters 
Description 
PdfID 
A PDF identifier returned by the PdfNewPdf(), PdfOCRStart(), PdfOcrStartStream(), TwainPDFStart() or TwainPdfStartStream() function. 
ImageID 
GdPicture Image Identifier. The image to add within the PDF.  
Returns

Returns an incremental Pdf image number if success, else 0. This pdf image number can be used with the PdfDrawImage() function.

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