API Reference
Class
PdfTableCellFormField
Represents a simple AcroForm text or choice field rendered inside a PDF table cell.
Inheritance
- Object
- PdfTableCellFormField
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property PdfTableCell.FormFields
- Method PdfTableCellFormField.ChoiceField
- Method PdfTableCellFormField.TextField
Accepted by parameters
- Constructor PdfTableCell.PdfTableCell
- Constructor PdfTableCell.PdfTableCell
- Method PdfTableCell.WithFormFields
- Method PdfTableCell.WithFormFields
- Method PdfTableCell.WithImages
- Method PdfTableCell.WithImages
Methods
public static PdfTableCellFormField ChoiceField(String name, IEnumerable<String> options, String value = null, Double width = 120, Double height = 18, Double fontSize = 10, Boolean isComboBox = true, PdfFormFieldStyle style = null) #Returns:
PdfTableCellFormFieldCreates a table-cell scalar choice field.
Parameters
- name System.String
- options System.Collections.Generic.IEnumerable{System.String}
- value System.String = null
- width System.Double = 120
- height System.Double = 18
- fontSize System.Double = 10
- isComboBox System.Boolean = true
- style OfficeIMO.Pdf.PdfFormFieldStyle = null
public static PdfTableCellFormField TextField(String name, String value = null, Double width = 120, Double height = 18, Double fontSize = 10, PdfFormFieldStyle style = null) #Returns:
PdfTableCellFormFieldCreates a table-cell text field.
Parameters
- name System.String
- value System.String = null
- width System.Double = 120
- height System.Double = 18
- fontSize System.Double = 10
- style OfficeIMO.Pdf.PdfFormFieldStyle = null
Inherited Methods
Properties
public PdfTableCellFormFieldKind Kind { get; } #Kind of AcroForm field emitted for this table cell item.
public String Name { get; } #Field name written to the AcroForm tree.
public IReadOnlyList<String> Values { get; } #Initial selected values. Scalar table-cell fields expose one value.
public IReadOnlyList<String> Options { get; } #Available choice options. Empty for text fields.
public Double Width { get; } #Preferred visual width in points. Rendering clamps this to the available cell width.
public Double Height { get; } #Visual height in points.
public Double FontSize { get; } #Text font size in points.
public Boolean IsComboBox { get; } #Whether a choice field is emitted as a combo box.
public PdfFormFieldStyle Style { get; } #Visual style for the generated field appearance stream.