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

Sets the page dimensions of the current page of a PDF.

C#
public PdfSetPageDimensions(
    int PdfID, 
    Single Width, 
    Single Height
);
Visual Basic
Public Sub PdfSetPageDimensions(
    ByVal PdfID As Integer, 
    ByVal Width As Single, 
    ByVal Height As Single
)
Parameters
Parameters 
Description 
PdfID 
A PDF identifier returned by the PdfNewPdf(), PdfOCRStart(), PdfOcrStartStream(), TwainPDFStart() or TwainPdfStartStream() function. 
Width 
Width in current unit defined by the PdfSetMeasurementUnit() function.  
Height 
Height 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.