FormFieldBuilder

FormFieldBuilder

Przegląd

FormFieldBuilder jest klasą w Aspose.PDF FOSS dla .NET.

Tworzy nowe interaktywne pola formularza i dodaje je do dokumentu PDF.

Ta klasa udostępnia 7 metod do pracy z obiektami FormFieldBuilder w programach .NET. Dostępne metody to: AddCheckBox, AddComboBox, AddListBox, AddRadioButton, AddSignatureField, AddTextField, FormFieldBuilder. Wszystkie publiczne elementy są dostępne dla dowolnej aplikacji .NET po zainstalowaniu pakietu Aspose.PDF FOSS dla .NET.

Metody

SygnaturaOpis
FormFieldBuilder(document: Document)Wywołuje FormFieldBuilder(document) na tej instancji FormFieldBuilder.
AddTextField(page: Page, name: string, rect: Rectangle, defaultValue: string?, fontSize: double)Dodaj pole tekstowe do strony.
AddCheckBox(page: Page, name: string, rect: Rectangle, isChecked: bool)Dodaj pole wyboru (checkbox) do strony.
AddComboBox(page: Page, name: string, rect: Rectangle, options: string[], selectedValue: string?, fontSize: double)Dodaj pole wyboru (dropdown/combo box) do strony.
AddRadioButton(page: Page, name: string, optionRects: Rectangle[], optionValues: string[], selectedIndex: int)Dodaj grupę przycisków radiowych z wieloma opcjami do strony.
AddListBox(page: Page, name: string, rect: Rectangle, options: string[], selectedValue: string?, fontSize: double)Dodaj pole listy do strony.
AddSignatureField(page: Page, name: string, rect: Rectangle)Dodaj pusty znacznik pola podpisu do strony.

Zobacz także

 Polski