PdfFormAddButton Method

Creates a button in PDF form

Definition

Namespace: Winnovative
Assembly: WnvHtmlToPdf_NetCore (in WnvHtmlToPdf_NetCore.dll) Version: 18.0.0
C#
public PdfFormButton AddButton(
	PdfPage pdfPage,
	RectangleF box,
	string text,
	PdfFont pdfFont
)

Parameters

pdfPage  PdfPage
The PDF page in which to place the button
box  RectangleF
The button control bounding box
text  String
The button text
pdfFont  PdfFont
The button text font

Return Value

PdfFormButton
The created button field

See Also