WPF

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

    Show / Hide Table of Contents

    Class PdfLoadedCheckBoxItem

    Represents loaded check box item.

    Inheritance
    System.Object
    PdfLoadedFieldItem
    PdfLoadedStateItem
    PdfLoadedCheckBoxItem
    Inherited Members
    PdfLoadedStateItem.Checked
    PdfLoadedStateItem.BackColor
    PdfLoadedStateItem.ForeColor
    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 PdfLoadedCheckBoxItem : PdfLoadedStateItem
    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;
    // Read the first item of the collection
    PdfLoadedCheckBoxItem checkItem = checkCollection[0];
    checkItem.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
    ' Read the first item of the collection
    Dim checkItem As PdfLoadedCheckBoxItem = checkCollection(0)
    checkItem.Checked = False
    doc.Save("Form.pdf")
    doc.Close(True)

    Properties

    Style

    Declaration
    public PdfCheckBoxStyle Style { get; set; }
    Property Value
    Type Description
    PdfCheckBoxStyle

    See Also

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