|
| BaseFont | RealFont [get] |
| |
| float | BorderWidth [get, set] |
| |
| int | BorderStyle [get, set] |
| |
| Color | BorderColor [get, set] |
| |
| Color | BackgroundColor [get, set] |
| |
| Color | TextColor [get, set] |
| |
| BaseFont | Font [get, set] |
| |
| float | FontSize [get, set] |
| |
| int | Alignment [get, set] |
| |
| string | Text [get, set] |
| |
| Rectangle | Box [get, set] |
| |
| int | Rotation [get, set] |
| |
| int | Visibility [get, set] |
| |
| string | FieldName [get, set] |
| |
| int | Options [get, set] |
| |
| int | MaxCharacterLength [get, set] |
| |
| PdfWriter | Writer [get, set] |
| |
◆ BaseField()
| iTextSharp.text.pdf.BaseField.BaseField |
( |
PdfWriter |
writer, |
|
|
Rectangle |
box, |
|
|
String |
fieldName |
|
) |
| |
Creates a new TextField.
- Parameters
-
| writer | the document PdfWriter |
| box | the field location and dimensions |
| fieldName | the field name. If null only the widget keys will be included in the field allowing it to be used as a kid field. |
◆ BreakLines()
| static ArrayList iTextSharp.text.pdf.BaseField.BreakLines |
( |
ArrayList |
breaks, |
|
|
BaseFont |
font, |
|
|
float |
fontSize, |
|
|
float |
width |
|
) |
| |
|
staticprotected |
◆ GetBorderAppearance()
| PdfAppearance iTextSharp.text.pdf.BaseField.GetBorderAppearance |
( |
| ) |
|
|
protected |
◆ GetHardBreaks()
| static ArrayList iTextSharp.text.pdf.BaseField.GetHardBreaks |
( |
String |
text | ) |
|
|
staticprotected |
◆ MoveFields()
Moves the field keys from from to to. The moved keys are removed from from.
- Parameters
-
| from | the source |
| to | the destination. It may be null |
◆ SetRotationFromPage()
| void iTextSharp.text.pdf.BaseField.SetRotationFromPage |
( |
Rectangle |
page | ) |
|
Convenience method to set the field rotation the same as the page rotation.
- Parameters
-
◆ TrimRight()
| static void iTextSharp.text.pdf.BaseField.TrimRight |
( |
StringBuilder |
buf | ) |
|
|
staticprotected |
◆ alignment
◆ backgroundColor
| Color iTextSharp.text.pdf.BaseField.backgroundColor |
|
protected |
◆ BORDER_WIDTH_MEDIUM
| const float iTextSharp.text.pdf.BaseField.BORDER_WIDTH_MEDIUM = 2 |
|
static |
A medium border with 2 point width.
◆ BORDER_WIDTH_THICK
| const float iTextSharp.text.pdf.BaseField.BORDER_WIDTH_THICK = 3 |
|
static |
A thick border with 3 point width.
◆ BORDER_WIDTH_THIN
| const float iTextSharp.text.pdf.BaseField.BORDER_WIDTH_THIN = 1 |
|
static |
A thin border with 1 point width.
◆ borderColor
| Color iTextSharp.text.pdf.BaseField.borderColor |
|
protected |
◆ borderStyle
◆ borderWidth
◆ box
◆ COMB
◆ DO_NOT_SCROLL
The field will not scroll (horizontally for single-line fields, vertically for multiple-line fields) to accommodate more text than will fit within its annotation rectangle. Once the field is full, no further text will be accepted.
◆ DO_NOT_SPELL_CHECK
The text entered in the field will not be spell-checked. This flag is meaningful only in text fields and in combo fields with the EDIT flag set.
◆ EDIT
If set the combo box includes an editable text box as well as a drop list; if clear, it includes only a drop list. This flag is only meaningful with combo fields.
◆ fieldName
| String iTextSharp.text.pdf.BaseField.fieldName |
|
protected |
Holds value of property fieldName.
◆ FILE_SELECTION
The text entered in the field represents the pathname of a file whose contents are to be submitted as the value of the field.
◆ font
| BaseFont iTextSharp.text.pdf.BaseField.font |
|
protected |
◆ fontSize
| float iTextSharp.text.pdf.BaseField.fontSize = 0 |
|
protected |
◆ HIDDEN
| const int iTextSharp.text.pdf.BaseField.HIDDEN = 1 |
|
static |
◆ HIDDEN_BUT_PRINTABLE
| const int iTextSharp.text.pdf.BaseField.HIDDEN_BUT_PRINTABLE = 3 |
|
static |
The field is hidden but is printable.
◆ maxCharacterLength
| int iTextSharp.text.pdf.BaseField.maxCharacterLength |
|
protected |
Holds value of property maxCharacterLength.
◆ MULTILINE
The field may contain multiple lines of text. This flag is only meaningful with text fields.
◆ options
| int iTextSharp.text.pdf.BaseField.options |
|
protected |
Holds value of property options.
◆ PASSWORD
The field is intended for entering a secure password that should not be echoed visibly to the screen.
◆ READ_ONLY
The user may not change the value of the field.
◆ REQUIRED
The field must have a value at the time it is exported by a submit-form action.
◆ rotation
| int iTextSharp.text.pdf.BaseField.rotation = 0 |
|
protected |
Holds value of property rotation.
◆ text
| String iTextSharp.text.pdf.BaseField.text |
|
protected |
◆ textColor
| Color iTextSharp.text.pdf.BaseField.textColor |
|
protected |
◆ visibility
| int iTextSharp.text.pdf.BaseField.visibility |
|
protected |
Holds value of property visibility.
◆ VISIBLE
| const int iTextSharp.text.pdf.BaseField.VISIBLE = 0 |
|
static |
◆ VISIBLE_BUT_DOES_NOT_PRINT
| const int iTextSharp.text.pdf.BaseField.VISIBLE_BUT_DOES_NOT_PRINT = 2 |
|
static |
The field is visible but does not print.
◆ writer
| PdfWriter iTextSharp.text.pdf.BaseField.writer |
|
protected |
◆ Alignment
| int iTextSharp.text.pdf.BaseField.Alignment |
|
getset |
◆ BackgroundColor
| Color iTextSharp.text.pdf.BaseField.BackgroundColor |
|
getset |
Sets the background color. Set to null for transparent background.
- Parameters
-
| backgroundColor | the background color |
◆ BorderColor
| Color iTextSharp.text.pdf.BaseField.BorderColor |
|
getset |
Sets the border color. Set to null to remove the border.
- Parameters
-
| borderColor | the border color |
◆ BorderStyle
| int iTextSharp.text.pdf.BaseField.BorderStyle |
|
getset |
Sets the border style. The styles are found in PdfBorderDictionary and can be STYLE_SOLID, STYLE_DASHED, STYLE_BEVELED, STYLE_INSET and STYLE_UNDERLINE.
- Parameters
-
| borderStyle | the border style |
◆ BorderWidth
| float iTextSharp.text.pdf.BaseField.BorderWidth |
|
getset |
Sets the border width in points. To eliminate the border set the border color to null.
- Parameters
-
| borderWidth | the border width in points |
◆ Box
Sets the field dimension and position.
- Parameters
-
| box | the field dimension and position |
◆ FieldName
| string iTextSharp.text.pdf.BaseField.FieldName |
|
getset |
Sets the field name.
- Parameters
-
| fieldName | the field name. If null only the widget keys will be included in the field allowing it to be used as a kid field. |
◆ Font
| BaseFont iTextSharp.text.pdf.BaseField.Font |
|
getset |
Sets the text font. If null then Helvetica will be used.
- Parameters
-
◆ FontSize
| float iTextSharp.text.pdf.BaseField.FontSize |
|
getset |
Sets the font size. If 0 then auto-sizing will be used but only for text fields.
- Parameters
-
◆ MaxCharacterLength
| int iTextSharp.text.pdf.BaseField.MaxCharacterLength |
|
getset |
Sets the maximum length of the field’s text, in characters. It is only meaningful for text fields.
- Parameters
-
| maxCharacterLength | the maximum length of the field’s text, in characters |
◆ Options
| int iTextSharp.text.pdf.BaseField.Options |
|
getset |
Sets the option flags. The option flags can be a combination by oring of READ_ONLY, REQUIRED, MULTILINE, DO_NOT_SCROLL, PASSWORD, FILE_SELECTION, DO_NOT_SPELL_CHECK and EDIT.
- Parameters
-
◆ RealFont
| BaseFont iTextSharp.text.pdf.BaseField.RealFont |
|
getprotected |
◆ Rotation
| int iTextSharp.text.pdf.BaseField.Rotation |
|
getset |
Sets the field rotation. This value should be the same as the page rotation where the field will be shown.
- Parameters
-
| rotation | the field rotation |
◆ Text
| string iTextSharp.text.pdf.BaseField.Text |
|
getset |
Sets the text for text fields.
- Parameters
-
◆ TextColor
| Color iTextSharp.text.pdf.BaseField.TextColor |
|
getset |
Sets the text color. If null the color used will be black.
- Parameters
-
◆ Visibility
| int iTextSharp.text.pdf.BaseField.Visibility |
|
getset |
Sets the field visibility flag. This flags can be one of VISIBLE, HIDDEN, VISIBLE_BUT_DOES_NOT_PRINT and HIDDEN_BUT_PRINTABLE.
- Parameters
-
| visibility | field visibility flag |
◆ Writer
| PdfWriter iTextSharp.text.pdf.BaseField.Writer |
|
getset |
The documentation for this class was generated from the following file: