Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfFormFieldStyleFluent

OfficeIMO.Pdf

Namespace
OfficeIMO.Pdf
Assembly
OfficeIMO.Pdf
Modifiers
static

The fluent methods of PdfFormFieldStyle, generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.

Inheritance

  • object
  • PdfFormFieldStyleFluent

Methods

public static TSelf AlternateName<TSelf>(TSelf pdfFormFieldStyle, string? value) #

Sets PdfFormFieldStyle.AlternateName: Alternate field name emitted as AcroForm /TU metadata for accessibility-oriented field descriptions.

Type Parameters

TSelf

Parameters

pdfFormFieldStyle TSelf required
The instance.
value string? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                             // C# fluent
new global::OfficeIMO.Pdf.PdfFormFieldStyle { AlternateName = value };    pdfFormFieldStyle.AlternateName(value);
public static TSelf BackgroundColor<TSelf>(TSelf pdfFormFieldStyle, OfficeColor? value) #

Sets PdfFormFieldStyle.BackgroundColor: Background fill color. Set to null for transparent field appearance streams.

Type Parameters

TSelf

Parameters

pdfFormFieldStyle TSelf required
The instance.
value OfficeIMO.OfficeColor? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::OfficeIMO.Pdf.PdfFormFieldStyle { BackgroundColor = value };    pdfFormFieldStyle.BackgroundColor(value);
public static TSelf BorderColor<TSelf>(TSelf pdfFormFieldStyle, OfficeColor? value) #

Sets PdfFormFieldStyle.BorderColor: Border stroke color. Set to null for no border stroke.

Type Parameters

TSelf

Parameters

pdfFormFieldStyle TSelf required
The instance.
value OfficeIMO.OfficeColor? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                           // C# fluent
new global::OfficeIMO.Pdf.PdfFormFieldStyle { BorderColor = value };    pdfFormFieldStyle.BorderColor(value);
public static TSelf BorderDashPattern<TSelf>(TSelf pdfFormFieldStyle, IReadOnlyList<OfficeLength>? value) #

Sets PdfFormFieldStyle.BorderDashPattern: Optional border dash pattern emitted into generated appearance streams. Null or empty output means a solid border.

Type Parameters

TSelf

Parameters

pdfFormFieldStyle TSelf required
The instance.
value System.Collections.Generic.IReadOnlyList<OfficeIMO.OfficeLength>? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                                 // C# fluent
new global::OfficeIMO.Pdf.PdfFormFieldStyle { BorderDashPattern = value };    pdfFormFieldStyle.BorderDashPattern(value);
public static TSelf BorderStyle<TSelf>(TSelf pdfFormFieldStyle, PdfFormFieldBorderStyle value) #

Sets PdfFormFieldStyle.BorderStyle: Border rendering style for generated field dictionaries and appearance streams.

Type Parameters

TSelf

Parameters

pdfFormFieldStyle TSelf required
The instance.
value OfficeIMO.Pdf.PdfFormFieldBorderStyle required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                           // C# fluent
new global::OfficeIMO.Pdf.PdfFormFieldStyle { BorderStyle = value };    pdfFormFieldStyle.BorderStyle(value);
public static TSelf BorderWidth<TSelf>(TSelf pdfFormFieldStyle, OfficeLength value) #

Sets PdfFormFieldStyle.BorderWidth: Border stroke width in points. Set to 0 to suppress border drawing.

Type Parameters

TSelf

Parameters

pdfFormFieldStyle TSelf required
The instance.
value OfficeIMO.OfficeLength required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                           // C# fluent
new global::OfficeIMO.Pdf.PdfFormFieldStyle { BorderWidth = value };    pdfFormFieldStyle.BorderWidth(value);
public static TSelf Comb<TSelf>(TSelf pdfFormFieldStyle, bool value = true) #

Sets PdfFormFieldStyle.IsComb: When true, generated text fields emit the comb field flag. Requires PdfFormFieldStyle.MaxLength.

Type Parameters

TSelf

Parameters

pdfFormFieldStyle TSelf required
The instance.
value bool = true optional
The value; true when omitted.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                      // C# fluent
new global::OfficeIMO.Pdf.PdfFormFieldStyle { IsComb = value };    pdfFormFieldStyle.Comb(value);
public static TSelf CommitsOnSelectionChange<TSelf>(TSelf pdfFormFieldStyle, bool value = true) #

Sets PdfFormFieldStyle.CommitsOnSelectionChange: When true, generated choice fields emit the commit-on-selection-change field flag.

Type Parameters

TSelf

Parameters

pdfFormFieldStyle TSelf required
The instance.
value bool = true optional
The value; true when omitted.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                                        // C# fluent
new global::OfficeIMO.Pdf.PdfFormFieldStyle { CommitsOnSelectionChange = value };    pdfFormFieldStyle.CommitsOnSelectionChange(value);
public static TSelf CornerRadius<TSelf>(TSelf pdfFormFieldStyle, OfficeLength value) #

Sets PdfFormFieldStyle.CornerRadius: Uniform circular corner radius in points for generated field appearance streams.

Type Parameters

TSelf

Parameters

pdfFormFieldStyle TSelf required
The instance.
value OfficeIMO.OfficeLength required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                            // C# fluent
new global::OfficeIMO.Pdf.PdfFormFieldStyle { CornerRadius = value };    pdfFormFieldStyle.CornerRadius(value);
public static TSelf DoesNotScroll<TSelf>(TSelf pdfFormFieldStyle, bool value = true) #

Sets PdfFormFieldStyle.DoesNotScroll: When true, generated text fields emit the do-not-scroll field flag.

Type Parameters

TSelf

Parameters

pdfFormFieldStyle TSelf required
The instance.
value bool = true optional
The value; true when omitted.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                             // C# fluent
new global::OfficeIMO.Pdf.PdfFormFieldStyle { DoesNotScroll = value };    pdfFormFieldStyle.DoesNotScroll(value);
public static TSelf DoesNotSpellCheck<TSelf>(TSelf pdfFormFieldStyle, bool value = true) #

Sets PdfFormFieldStyle.DoesNotSpellCheck: When true, generated text and choice fields emit the do-not-spell-check field flag.

Type Parameters

TSelf

Parameters

pdfFormFieldStyle TSelf required
The instance.
value bool = true optional
The value; true when omitted.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                                 // C# fluent
new global::OfficeIMO.Pdf.PdfFormFieldStyle { DoesNotSpellCheck = value };    pdfFormFieldStyle.DoesNotSpellCheck(value);
public static TSelf EditableChoice<TSelf>(TSelf pdfFormFieldStyle, bool value = true) #

Sets PdfFormFieldStyle.IsEditableChoice: When true, generated combo choice fields emit the editable-choice field flag.

Type Parameters

TSelf

Parameters

pdfFormFieldStyle TSelf required
The instance.
value bool = true optional
The value; true when omitted.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                                // C# fluent
new global::OfficeIMO.Pdf.PdfFormFieldStyle { IsEditableChoice = value };    pdfFormFieldStyle.EditableChoice(value);
public static TSelf FileSelect<TSelf>(TSelf pdfFormFieldStyle, bool value = true) #

Sets PdfFormFieldStyle.IsFileSelect: When true, generated text fields emit the file-select field flag.

Type Parameters

TSelf

Parameters

pdfFormFieldStyle TSelf required
The instance.
value bool = true optional
The value; true when omitted.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                            // C# fluent
new global::OfficeIMO.Pdf.PdfFormFieldStyle { IsFileSelect = value };    pdfFormFieldStyle.FileSelect(value);
public static TSelf MappingName<TSelf>(TSelf pdfFormFieldStyle, string? value) #

Sets PdfFormFieldStyle.MappingName: Mapping name emitted as AcroForm /TM metadata for export and assistive-processing workflows.

Type Parameters

TSelf

Parameters

pdfFormFieldStyle TSelf required
The instance.
value string? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                           // C# fluent
new global::OfficeIMO.Pdf.PdfFormFieldStyle { MappingName = value };    pdfFormFieldStyle.MappingName(value);
public static TSelf MarkColor<TSelf>(TSelf pdfFormFieldStyle, OfficeColor value) #

Sets PdfFormFieldStyle.MarkColor: Check mark or radio dot color for generated button field appearance streams.

Type Parameters

TSelf

Parameters

pdfFormFieldStyle TSelf required
The instance.
value OfficeIMO.OfficeColor required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                         // C# fluent
new global::OfficeIMO.Pdf.PdfFormFieldStyle { MarkColor = value };    pdfFormFieldStyle.MarkColor(value);
public static TSelf MaxLength<TSelf>(TSelf pdfFormFieldStyle, int? value) #

Sets PdfFormFieldStyle.MaxLength: Optional maximum text length emitted as /MaxLen for generated text fields.

Type Parameters

TSelf

Parameters

pdfFormFieldStyle TSelf required
The instance.
value int? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                         // C# fluent
new global::OfficeIMO.Pdf.PdfFormFieldStyle { MaxLength = value };    pdfFormFieldStyle.MaxLength(value);
public static TSelf Multiline<TSelf>(TSelf pdfFormFieldStyle, bool value = true) #

Sets PdfFormFieldStyle.IsMultiline: When true, generated text fields emit the multiline field flag.

Type Parameters

TSelf

Parameters

pdfFormFieldStyle TSelf required
The instance.
value bool = true optional
The value; true when omitted.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                           // C# fluent
new global::OfficeIMO.Pdf.PdfFormFieldStyle { IsMultiline = value };    pdfFormFieldStyle.Multiline(value);
public static TSelf NoExport<TSelf>(TSelf pdfFormFieldStyle, bool value = true) #

Sets PdfFormFieldStyle.IsNoExport: When true, generated AcroForm fields emit the common no-export field flag.

Type Parameters

TSelf

Parameters

pdfFormFieldStyle TSelf required
The instance.
value bool = true optional
The value; true when omitted.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                          // C# fluent
new global::OfficeIMO.Pdf.PdfFormFieldStyle { IsNoExport = value };    pdfFormFieldStyle.NoExport(value);
public static TSelf Password<TSelf>(TSelf pdfFormFieldStyle, bool value = true) #

Sets PdfFormFieldStyle.IsPassword: When true, generated text fields emit the password field flag.

Type Parameters

TSelf

Parameters

pdfFormFieldStyle TSelf required
The instance.
value bool = true optional
The value; true when omitted.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                          // C# fluent
new global::OfficeIMO.Pdf.PdfFormFieldStyle { IsPassword = value };    pdfFormFieldStyle.Password(value);
public static TSelf ReadOnly<TSelf>(TSelf pdfFormFieldStyle, bool value = true) #

Sets PdfFormFieldStyle.IsReadOnly: When true, generated AcroForm fields emit the common read-only field flag.

Type Parameters

TSelf

Parameters

pdfFormFieldStyle TSelf required
The instance.
value bool = true optional
The value; true when omitted.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                          // C# fluent
new global::OfficeIMO.Pdf.PdfFormFieldStyle { IsReadOnly = value };    pdfFormFieldStyle.ReadOnly(value);
public static TSelf Required<TSelf>(TSelf pdfFormFieldStyle, bool value = true) #

Sets PdfFormFieldStyle.IsRequired: When true, generated AcroForm fields emit the common required field flag.

Type Parameters

TSelf

Parameters

pdfFormFieldStyle TSelf required
The instance.
value bool = true optional
The value; true when omitted.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                          // C# fluent
new global::OfficeIMO.Pdf.PdfFormFieldStyle { IsRequired = value };    pdfFormFieldStyle.Required(value);
public static TSelf SortedChoice<TSelf>(TSelf pdfFormFieldStyle, bool value = true) #

Sets PdfFormFieldStyle.IsSortedChoice: When true, generated choice fields emit the sort field flag.

Type Parameters

TSelf

Parameters

pdfFormFieldStyle TSelf required
The instance.
value bool = true optional
The value; true when omitted.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                              // C# fluent
new global::OfficeIMO.Pdf.PdfFormFieldStyle { IsSortedChoice = value };    pdfFormFieldStyle.SortedChoice(value);
public static TSelf TextAlignment<TSelf>(TSelf pdfFormFieldStyle, PdfFormFieldTextAlignment? value) #

Sets PdfFormFieldStyle.TextAlignment: Optional text alignment for generated text and choice fields. When null, document-level AcroForm defaults can apply.

Type Parameters

TSelf

Parameters

pdfFormFieldStyle TSelf required
The instance.
value OfficeIMO.Pdf.PdfFormFieldTextAlignment? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                             // C# fluent
new global::OfficeIMO.Pdf.PdfFormFieldStyle { TextAlignment = value };    pdfFormFieldStyle.TextAlignment(value);
public static TSelf TextColor<TSelf>(TSelf pdfFormFieldStyle, OfficeColor value) #

Sets PdfFormFieldStyle.TextColor: Text color for generated text and choice field appearance streams.

Type Parameters

TSelf

Parameters

pdfFormFieldStyle TSelf required
The instance.
value OfficeIMO.OfficeColor required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                         // C# fluent
new global::OfficeIMO.Pdf.PdfFormFieldStyle { TextColor = value };    pdfFormFieldStyle.TextColor(value);