menu

Xamarin.Android

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class PdfLoadedTexBoxItem - Xamarin.Android API Reference | Syncfusion

    Show / Hide Table of Contents

    Class PdfLoadedTexBoxItem

    Represents an item in a text box field collection.

    Inheritance
    System.Object
    PdfLoadedFieldItem
    PdfLoadedTexBoxItem
    Inherited Members
    PdfLoadedFieldItem.Bounds
    PdfLoadedFieldItem.Field
    PdfLoadedFieldItem.Location
    PdfLoadedFieldItem.Page
    PdfLoadedFieldItem.Size
    Namespace: Syncfusion.Pdf.Parsing
    Assembly: Syncfusion.Pdf.Portable.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)

    See Also

    PdfLoadedTextBoxField
    PdfLoadedDocument
    PdfLoadedFieldItem
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved