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

Append a rectangle to the current path as a complete subpath, into the current page of a PDF.

C#
public PdfAddRectangleToPath(
    int PdfID, 
    Single DstX, 
    Single DstY, 
    Single Width, 
    Single Height
);
Visual Basic
Public Sub PdfAddRectangleToPath(
    ByVal PdfID As Integer, 
    ByVal DstX As Single, 
    ByVal DstY As Single, 
    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. 
DstX 
The X destination in current unit defined by the PdfSetMeasurementUnit() function of the lower-left corner of the rectangle. 
DstY 
The Y (from the bottom) destination in current unit defined by the PdfSetMeasurementUnit() function of the lower-left corner of the rectangle. 
Width 
The width in current unit defined by the PdfSetMeasurementUnit() function of the rectangle. 
Height 
The height in current unit defined by the PdfSetMeasurementUnit() function of the rectangle. 
What do you think about this topic? Send feedback!
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.