PdfFormFieldStyle
OfficeIMO.Pdf
Visual style for generated simple AcroForm fields.
Inheritance
- object
- PdfFormFieldStyle
Usage
Explore 21 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 4
- Property PdfFormFieldCreateOptions.Style
- Method PdfFormFieldStyle.Clone
- Property PdfTableCellCheckBox.Style
- Property PdfTableCellFormField.Style
Accepted by parameters 17
- Method PdfContentBuilder.CheckBox
- Method PdfContentBuilder.ChoiceField
- Method PdfContentBuilder.MultiSelectChoiceField
- Method PdfContentBuilder.RadioButtonGroup
- Method PdfContentBuilder.TextField
- Extension method PdfFormFieldCreateOptions.Style
- Extension method PdfFormFieldCreateOptions.Style
- Method PdfFormFieldCreateOptionsFluent.Style
- Method PdfFormFieldCreateOptionsFluent.Style
- Method PdfPageCanvas.CheckBox
- Method PdfPageCanvas.CheckBoxWithExportValue
- Method PdfPageCanvas.ChoiceField
- Method PdfPageCanvas.RadioButton
- Method PdfPageCanvas.TextField
- Constructor PdfTableCellCheckBox.PdfTableCellCheckBox
- Method PdfTableCellFormField.ChoiceField
- Method PdfTableCellFormField.TextField
Constructors
public PdfFormFieldStyle() #Methods
Inherited Methods
Properties
public OfficeColor? BackgroundColor { get; set; } #Background fill color. Set to null for transparent field appearance streams.
public OfficeColor? BorderColor { get; set; } #Border stroke color. Set to null for no border stroke.
public OfficeColor TextColor { get; set; } #Text color for generated text and choice field appearance streams.
public OfficeColor MarkColor { get; set; } #Check mark or radio dot color for generated button field appearance streams.
public bool IsReadOnly { get; set; } #When true, generated AcroForm fields emit the common read-only field flag.
public bool IsRequired { get; set; } #When true, generated AcroForm fields emit the common required field flag.
public bool IsNoExport { get; set; } #When true, generated AcroForm fields emit the common no-export field flag.
public bool IsMultiline { get; set; } #When true, generated text fields emit the multiline field flag.
public bool IsPassword { get; set; } #When true, generated text fields emit the password field flag.
public bool IsFileSelect { get; set; } #When true, generated text fields emit the file-select field flag.
public bool DoesNotSpellCheck { get; set; } #When true, generated text and choice fields emit the do-not-spell-check field flag.
public bool DoesNotScroll { get; set; } #When true, generated text fields emit the do-not-scroll field flag.
public bool IsComb { get; set; } #When true, generated text fields emit the comb field flag. Requires PdfFormFieldStyle.MaxLength.
public bool IsEditableChoice { get; set; } #When true, generated combo choice fields emit the editable-choice field flag.
public bool IsSortedChoice { get; set; } #When true, generated choice fields emit the sort field flag.
public bool CommitsOnSelectionChange { get; set; } #When true, generated choice fields emit the commit-on-selection-change field flag.
public int? MaxLength { get; set; } #Optional maximum text length emitted as /MaxLen for generated text fields.
public PdfFormFieldTextAlignment? TextAlignment { get; set; } #Optional text alignment for generated text and choice fields. When null, document-level AcroForm defaults can apply.
public OfficeLength BorderWidth { get; set; } #Border stroke width in points. Set to 0 to suppress border drawing.
public OfficeLength CornerRadius { get; set; } #Uniform circular corner radius in points for generated field appearance streams.
public PdfFormFieldBorderStyle BorderStyle { get; set; } #Border rendering style for generated field dictionaries and appearance streams.
public IReadOnlyList<OfficeLength>? BorderDashPattern { get; set; } #Optional border dash pattern emitted into generated appearance streams. Null or empty output means a solid border.
public string? AlternateName { get; set; } #Alternate field name emitted as AcroForm /TU metadata for accessibility-oriented field descriptions.
public string? MappingName { get; set; } #Mapping name emitted as AcroForm /TM metadata for export and assistive-processing workflows.