Table of Contents

Class PdfPushButton

Namespace
MiPdf.Forms
Assembly
MiPdf.dll

A push button (no value).

public sealed class PdfPushButton : PdfFormField
Inheritance
PdfPushButton
Inherited Members

Properties

Caption

The caption (/MK /CA) of the first widget.

public string? Caption { get; }

Property Value

string

Methods

SetAppearance(PdfImage?, string?)

Replaces the icon and/or caption of all widgets (icon only if caption is null).

public void SetAppearance(PdfImage? icon, string? caption = null)

Parameters

icon PdfImage
caption string

SetImage(PdfImage)

Replaces the button image (icon only), e.g. with a signature image.

public void SetImage(PdfImage image)

Parameters

image PdfImage