PdfPage.AddButton Method (PdfRectangle)

Adds the new button control with auto-generated name to the PdfPage.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public PdfButton AddButton(
	PdfRectangle boundingBox
)
VB
Public Function AddButton ( 
	boundingBox As PdfRectangle
) As PdfButton

Parameters

boundingBox
Type: BitMiracle.Docotic.Pdf.PdfRectangle
The PdfRectangle structure that specifies the location and the size of the button.

Return Value

Type: PdfButton
The newly created PdfButton object.

Remarks

The Rotation of the new button is set to the rotation (Rotation) of the owner page.

See Also