PdfFormAddButton Method

Creates a button in form

Definition

Namespace: HiQPdf
Assembly: HiQPdf.NetCore (in HiQPdf.NetCore.dll) Version: 16.0.0
C#
public PdfFormButton AddButton(
	PdfPage pdfPage,
	RectangleF boundingRectangle,
	string text,
	PdfFont pdfFont
)

Parameters

pdfPage  PdfPage
The PDF page where to create the button
boundingRectangle  RectangleF
The button field bounding rectangle
text  String
The text displayed on the button
pdfFont  PdfFont
The button text font

Return Value

PdfFormButton
The created button

See Also