Skip to main content
All docs
V25.1
  • PdfRadioGroupFormFieldFacade.Value Property

    Gets or sets the form field value—the name of the radio group item.

    Namespace: DevExpress.Pdf

    Assembly: DevExpress.Pdf.v25.1.Core.dll

    NuGet Package: DevExpress.Pdf.Core

    Declaration

    public string Value { get; set; }

    Property Value

    Type Description
    String

    The name of the radio group item.

    Remarks

    The code sample below specifies the radio group value:

    using (PdfDocumentProcessor pdfDocumentProcessor = new PdfDocumentProcessor())
    {
        pdfDocumentProcessor.LoadDocument("Documents//FormDemo.pdf");
    
        PdfDocumentFacade documentFacade = pdfDocumentProcessor.DocumentFacade;
        PdfAcroFormFacade acroForm = documentFacade.AcroForm;
    
        //Set the radio group value:
        PdfRadioGroupFormFieldFacade genderField = acroForm.GetRadioGroupFormField("Gender");
        genderField.Value = genderField.Field.Items[2].Value;
    }
    

    The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Value property.

    Note

    The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

    See Also