Class PdfLoadedTexBoxItem
Represents an item in a text box field collection.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.Pdf.Parsing
Assembly: Syncfusion.Pdf.Base.dll
Syntax
public class PdfLoadedTexBoxItem : PdfLoadedFieldItem
Examples
//Load an existing document
PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf");
// Load the text box field
PdfLoadedTextBoxField textBoxField = doc.Form.Fields["EmployeeName"] as PdfLoadedTextBoxField;
// Read the first text box field item from the collection
PdfLoadedTexBoxItem textBoxItem = textBoxField.Items[0];
textBoxItem.Location = new PointF(10, 20);
doc.Save("LoadedForm.pdf");
doc.Close(true);
'Load an existing document
Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf")
' Load the text box field
Dim textBoxField As PdfLoadedTextBoxField = TryCast(doc.Form.Fields("EmployeeName"), PdfLoadedTextBoxField)
' Read the first text box field item from the collection
Dim textBoxItem As PdfLoadedTexBoxItem = textBoxField.Items(0)
textBoxItem.Location = New PointF(10, 20)
doc.Save("LoadedForm.pdf")
doc.Close(True)