File Formats

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class PdfLoadedListFieldItem

    Show / Hide Table of Contents

    Class PdfLoadedListFieldItem

    Represents group item for list field.

    Inheritance
    System.Object
    PdfLoadedFieldItem
    PdfLoadedListFieldItem
    Inherited Members
    PdfLoadedFieldItem.Field
    PdfLoadedFieldItem.Bounds
    PdfLoadedFieldItem.Location
    PdfLoadedFieldItem.Size
    PdfLoadedFieldItem.Page
    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 PdfLoadedListFieldItem : PdfLoadedFieldItem
    Examples
    // Loads an existing document
    PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf");
    // Load the list box field 
    PdfLoadedListBoxField listField = doc.Form.Fields["Course"] as PdfLoadedListBoxField;
    // Loaded list box field items
    PdfLoadedListFieldItem listFieldItem = listField.Items[0];
    listFieldItem.Location = new PointF(100, 200);
    doc.Save("Sample.pdf");
    doc.Close(true);
    ' Loads an existing document
    Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf")
    ' Load the list box field 
    Dim listField As PdfLoadedListBoxField = TryCast(doc.Form.Fields("Course"), PdfLoadedListBoxField)
    ' Loaded list box field items
    Dim listFieldItem As PdfLoadedListFieldItem = listField.Items(0)
    listFieldItem.Location = New PointF(100, 200)
    doc.Save("Sample.pdf")
    doc.Close(True)

    See Also

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