Class PdfFormFieldStyle
How a new form field looks: its text, border and background. Used by the Add… methods of
PdfForm; behaviour such as read only, required, multiline or password is set on the returned
field (SetFlag(PdfFormFieldFlags)).
public sealed class PdfFormFieldStyle
- Inheritance
-
objectPdfFormFieldStyle
Properties
- Alignment
Gets or sets the alignment of the text in text and choice fields: left (the default), center or right.
- BackgroundColor
Gets or sets the background color. The default, Empty, leaves the field transparent, as does a fully transparent color.
- BorderColor
Gets or sets the border color. The default is black; Empty or a fully transparent color draws no border. Field colors are opaque: other alpha values are ignored.
- BorderWidth
Gets or sets the border width in points. The default is 1.
- FontSize
Gets or sets the font size of the field's text in points. 0, the default, fits the text to the field. The font is Helvetica.
- TextColor
Gets or sets the color of the text, the check mark and the radio button dot. The default is black.
- ToolTip
Gets or sets the text that viewers show as the field's tool tip and screen readers read as its name.