Class PdfPushButton

Namespace
SoftZenPdf
Assembly
SoftZenPdf.dll

A push button: a clickable caption that performs a PdfButtonAction, such as opening a web page, resetting the form or submitting it. It has no value. Created with AddPushButton(string, double, double, double, double, string).

public sealed class PdfPushButton : PdfFormField
Inheritance
PdfPushButton
Inherited Members

Remarks

Without an Action, clicking the button does nothing.

Properties

Action

What happens when the button is clicked, or null for nothing.

Caption

The text shown on the button, centred.

Font

The font of the caption; a Latin standard font. Defaults to Helvetica.

FontSize

The font size, in points; 0 sizes the caption to fit the button. Defaults to 12.

TextColor

The caption colour. Defaults to black.