HiQPdf Documentation

PdfFormAddButton Method (PdfPage, RectangleFloat, String, PdfFont)

HiQPdf Client for .NET Core
Creates a button in form

Namespace:  HiQPdfClient
Assembly:  HiQPdfClient.NetCore (in HiQPdfClient.NetCore.dll) Version: 15.0.0
Syntax

public PdfFormButton AddButton(
	PdfPage pdfPage,
	RectangleFloat boundingRectangle,
	string text,
	PdfFont pdfFont
)

Parameters

pdfPage
Type: HiQPdfClientPdfPage
The PDF page where to create the button
boundingRectangle
Type: HiQPdfClientRectangleFloat
The button field bounding rectangle
text
Type: SystemString
The text displayed on the button
pdfFont
Type: HiQPdfClientPdfFont
The button text font

Return Value

Type: PdfFormButton
The created button
See Also

Reference