|
HiraokaHyperTools.iTextSharp-LGPL
0.3.0
|
Public Member Functions | |
| TextField (PdfWriter writer, Rectangle box, String fieldName) | |
| PdfAppearance | GetAppearance () |
| PdfFormField | GetTextField () |
| PdfFormField | GetComboField () |
| PdfFormField | GetListField () |
| void | SetExtraMargin (float extraMarginLeft, float extraMarginTop) |
Public Member Functions inherited from iTextSharp.text.pdf.BaseField | |
| BaseField (PdfWriter writer, Rectangle box, String fieldName) | |
| void | SetRotationFromPage (Rectangle page) |
Static Public Member Functions | |
| static String | RemoveCRLF (String text) |
| static String | ObfuscatePassword (String text) |
Static Public Member Functions inherited from iTextSharp.text.pdf.BaseField | |
| static void | MoveFields (PdfDictionary from, PdfDictionary to) |
Protected Member Functions | |
| PdfFormField | GetChoiceField (bool isList) |
Protected Member Functions inherited from iTextSharp.text.pdf.BaseField | |
| PdfAppearance | GetBorderAppearance () |
Properties | |
| string | DefaultText [get, set] |
| string[] | Choices [get, set] |
| string[] | ChoiceExports [get, set] |
| int | ChoiceSelection [get, set] |
| ArrayList | SubstitutionFonts [get, set] |
| BaseFont | ExtensionFont [get, set] |
Properties inherited from iTextSharp.text.pdf.BaseField | |
| 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] |
Supports text, combo and list fields generating the correct appearances. All the option in the Acrobat GUI are supported in an easy to use API.
| PdfAppearance iTextSharp.text.pdf.TextField.GetAppearance | ( | ) |
Get the PdfAppearance of a text or combo field
| IOException | on error |
| DocumentException | on error |
PdfAppearance
|
protected |
| PdfFormField iTextSharp.text.pdf.TextField.GetComboField | ( | ) |
Gets a new combo field.
| IOException | on error |
| DocumentException | on error |
| PdfFormField iTextSharp.text.pdf.TextField.GetListField | ( | ) |
Gets a new list field.
| IOException | on error |
| DocumentException | on error |
| PdfFormField iTextSharp.text.pdf.TextField.GetTextField | ( | ) |
Gets a new text field.
| IOException | on error |
| DocumentException | on error |
|
static |
Obfuscates a password String. Every character is replaced by an asterisk (*).
| text |
|
static |
| void iTextSharp.text.pdf.TextField.SetExtraMargin | ( | float | extraMarginLeft, |
| float | extraMarginTop | ||
| ) |
Sets extra margins in text fields to better mimic the Acrobat layout.
| extraMarginLeft | the extra marging left |
| extraMarginTop | the extra margin top |
|
getset |
Sets the export values in list/combo fields. If this array is null then the choice values will also be used as the export values.
| choiceExports | the export values in list/combo fields |
|
getset |
Sets the choices to be presented to the user in list/combo fields.
| choices | the choices to be presented to the user |
|
getset |
Sets the zero based index of the selected item.
| choiceSelection | the zero based index of the selected item |
|
getset |
Sets the default text. It is only meaningful for text fields.
| defaultText | the default text |
|
getset |
Sets the extensionFont. This font will be searched before the substitution fonts. It may be null.
| extensionFont | New value of property extensionFont. |
|
getset |
Sets a list of substitution fonts. The list is composed of BaseFont and can also be null. The fonts in this list will be used if the original font doesn't contain the needed glyphs.
| substitutionFonts | the list |