PdfFormField Public class
Diagram
flowchart LR classDef interfaceStyle stroke-dasharray: 5 5; classDef abstractStyle stroke-width:4px subgraph iTextSharp.text.pdf iTextSharp.text.pdf.PdfFormField[[PdfFormField]] iTextSharp.text.pdf.PdfAnnotation[[PdfAnnotation]] end iTextSharp.text.pdf.PdfAnnotation --> iTextSharp.text.pdf.PdfFormField
Members
Properties
Public properties
|
Type |
Name |
Methods |
|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Methods
Public methods
|
Returns |
Name |
|---|---|
|
|
(
field) |
|
|
( |
|
|
() |
|
|
(
rect,
highlight) |
Public Static methods
|
Returns |
Name |
|---|---|
|
|
(
writer) |
|
|
( |
|
|
(
writer) |
|
|
( |
|
|
(
writer) |
|
|
(
writer, |
|
|
(
writer) |
|
|
(
writer, |
Protected Static methods
|
Returns |
Name |
|---|---|
|
|
(
writer, |
|
|
(
writer,
options, |
|
|
( |
Internal Static methods
|
Returns |
Name |
|---|---|
|
|
( |
Details
Inheritance
Constructors
PdfFormField [1/2]
Source code
public PdfFormField(PdfWriter writer, float llx, float lly, float urx, float ury, PdfAction action)
Arguments
PdfFormField [2/2]
Source code
internal PdfFormField(PdfWriter writer)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
writer |
Methods
SetWidget
Source code
public virtual void SetWidget(Rectangle rect, PdfName highlight)
Arguments
CreateEmpty
Source code
public static PdfFormField CreateEmpty(PdfWriter writer)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
writer |
CreateButton
Source code
protected static PdfFormField CreateButton(PdfWriter writer, int flags)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
writer |
|
|
|
flags |
CreatePushButton
Source code
public static PdfFormField CreatePushButton(PdfWriter writer)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
writer |
CreateCheckBox
Source code
public static PdfFormField CreateCheckBox(PdfWriter writer)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
writer |
CreateRadioButton
Source code
public static PdfFormField CreateRadioButton(PdfWriter writer, bool noToggleToOff)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
writer |
|
|
|
noToggleToOff |
CreateTextField
Source code
public static PdfFormField CreateTextField(PdfWriter writer, bool multiline, bool password, int maxLen)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
writer |
|
|
|
multiline |
|
|
|
password |
|
|
|
maxLen |
CreateChoice
Source code
protected static PdfFormField CreateChoice(PdfWriter writer, int flags, PdfArray options, int topIndex)
Arguments
CreateList [1/2]
Source code
public static PdfFormField CreateList(PdfWriter writer, string[] options, int topIndex)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
writer |
|
|
|
options |
|
|
|
topIndex |
CreateList [2/2]
Source code
public static PdfFormField CreateList(PdfWriter writer, string[,] options, int topIndex)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
writer |
|
|
|
options |
|
|
|
topIndex |
CreateCombo [1/2]
Source code
public static PdfFormField CreateCombo(PdfWriter writer, bool edit, string[] options, int topIndex)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
writer |
|
|
|
edit |
|
|
|
options |
|
|
|
topIndex |
CreateCombo [2/2]
Source code
public static PdfFormField CreateCombo(PdfWriter writer, bool edit, string[,] options, int topIndex)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
writer |
|
|
|
edit |
|
|
|
options |
|
|
|
topIndex |
ProcessOptions [1/2]
Source code
protected static PdfArray ProcessOptions(string[] options)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
options |
ProcessOptions [2/2]
Source code
protected static PdfArray ProcessOptions(string[,] options)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
options |
CreateSignature
Source code
public static PdfFormField CreateSignature(PdfWriter writer)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
writer |
AddKid
Source code
public virtual void AddKid(PdfFormField field)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
field |
SetFieldFlags
Source code
public virtual int SetFieldFlags(int flags)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
flags |
MergeResources [1/2]
Source code
internal static void MergeResources(PdfDictionary result, PdfDictionary source, PdfStamperImp writer)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
result |
|
|
|
source |
|
|
|
writer |
MergeResources [2/2]
Source code
internal static void MergeResources(PdfDictionary result, PdfDictionary source)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
result |
|
|
|
source |
SetUsed
Source code
public override void SetUsed()
Properties
Button
public virtual int Button { set; }
Parent
public virtual PdfFormField Parent { get; }
Kids
public virtual List<PdfFormField> Kids { get; }
ValueAsString
public virtual string ValueAsString { set; }
ValueAsName
public virtual string ValueAsName { set; }
ValueAsSig
public virtual PdfSignature ValueAsSig { set; }
RichValue
public virtual string RichValue { set; }
DefaultValueAsString
public virtual string DefaultValueAsString { set; }
DefaultValueAsName
public virtual string DefaultValueAsName { set; }
FieldName
public virtual string FieldName { set; }
UserName
public virtual string UserName { set; }
MappingName
public virtual string MappingName { set; }
Quadding
public virtual int Quadding { set; }
Generated with ModularDoc