menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class PdfLoadedCheckBoxItemCollection - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class PdfLoadedCheckBoxItemCollection

    Represents collection of text box group items.

    Inheritance
    System.Object
    PdfCollection
    PdfLoadedStateItemCollection
    PdfLoadedCheckBoxItemCollection
    Implements
    System.Collections.IEnumerable
    Inherited Members
    PdfCollection.Count
    PdfCollection.GetEnumerator()
    PdfCollection.List
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.Pdf.Parsing
    Assembly: Syncfusion.Pdf.Base.dll
    Syntax
    public class PdfLoadedCheckBoxItemCollection : PdfLoadedStateItemCollection, IEnumerable
    Examples
    //Load an existing document.
    PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf");
    // Load an existing Check field
    PdfLoadedCheckBoxField checkField = doc.Form.Fields["Java"] as PdfLoadedCheckBoxField;
    // Loads the check box items collection.
    PdfLoadedCheckBoxItemCollection checkCollection = checkField.Items;
    checkCollection[0].Checked = false;            
    doc.Save("Form.pdf");
    doc.Close(true);
    'Load an existing document.
    Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf")
    ' Load an existing Check field
    Dim checkField As PdfLoadedCheckBoxField = TryCast(doc.Form.Fields("Java"), PdfLoadedCheckBoxField)
    ' Loads the check box items collection.
    Dim checkCollection As PdfLoadedCheckBoxItemCollection = checkField.Items
    checkCollection(0).Checked = False
    doc.Save("Form.pdf")
    doc.Close(True)

    Constructors

    PdfLoadedCheckBoxItemCollection()

    Declaration
    public PdfLoadedCheckBoxItemCollection()

    Properties

    Item[Int32]

    Gets the PdfLoadedCheckBoxItem at the specified index.[Read-Only]

    Declaration
    public PdfLoadedCheckBoxItem this[int index] { get; }
    Parameters
    Type Name Description
    System.Int32 index
    Property Value
    Type
    PdfLoadedCheckBoxItem
    Examples
    //Load an existing document.
    PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf");
    // Load an existing Check field
    PdfLoadedCheckBoxField checkField = doc.Form.Fields["Java"] as PdfLoadedCheckBoxField;
    // Loads the check box items collection.
    PdfLoadedCheckBoxItemCollection checkCollection = checkField.Items;
    checkCollection[0].Checked = false;            
    doc.Save("Form.pdf");
    doc.Close(true);
    'Load an existing document.
    Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf")
    ' Load an existing Check field
    Dim checkField As PdfLoadedCheckBoxField = TryCast(doc.Form.Fields("Java"), PdfLoadedCheckBoxField)
    ' Loads the check box items collection.
    Dim checkCollection As PdfLoadedCheckBoxItemCollection = checkField.Items
    checkCollection(0).Checked = False
    doc.Save("Form.pdf")
    doc.Close(True)

    Implements

    System.Collections.IEnumerable

    Extension Methods

    EnumerableExtensions.GetElementType(IEnumerable)
    EnumerableExtensions.GetItemPropertyInfo(IEnumerable)
    FunctionalExtensions.ForEach<T>(IEnumerable, Action<T>)
    FunctionalExtensions.ToList<T>(IEnumerable)
    QueryableExtensions.OfQueryable(IEnumerable)
    QueryableExtensions.OfQueryable(IEnumerable, Type)
    QueryableExtensions.GroupByMany<TElement>(IEnumerable, Type, List<Func<TElement, Object>>)
    QueryableExtensions.GroupByMany(IEnumerable, Type, Func<String, Expression>, String[])
    QueryableExtensions.GroupByMany(IEnumerable, Type, List<SortDescriptor>, Dictionary<String, IComparer<Object>>, Func<String, Expression>, String[])
    QueryableExtensions.GroupByMany(IEnumerable, Type, List<SortDescriptor>, Func<String, Expression>, String[])

    See Also

    PdfLoadedStateField
    PdfLoadedCheckBoxField
    PdfLoadedStateItemCollection
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved