VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Pdf.Tree.InteractiveForms Namespace / PdfInteractiveFormField Class / IsRequired Property
Syntax Requirements SeeAlso
In This Topic
    IsRequired Property (PdfInteractiveFormField)
    In This Topic
    Gets or sets a value indicating whether the field must have a value at the time it is exported by a submit-form action.
    Syntax
    'Declaration
    
    <CategoryAttribute("Common")>
    <DefaultValueAttribute(False)>
    <DescriptionAttribute("A value indicating whether the field must have a value at the time it is exported by a submit-form action.")>
    Public Property IsRequired As Boolean
    
    
    [Category("Common")]
    [DefaultValue(False)]
    [Description("A value indicating whether the field must have a value at the time it is exported by a submit-form action.")]
    public bool IsRequired { get; set; }
    
    
    [Category("Common")]
    [DefaultValue(False)]
    [Description("A value indicating whether the field must have a value at the time it is exported by a submit-form action.")]
    public: __property bool get_IsRequired();
    public: __property void set_IsRequired(
    bool value
    );
    [Category("Common")]
    [DefaultValue(False)]
    [Description("A value indicating whether the field must have a value at the time it is exported by a submit-form action.")]
    public:
    property bool IsRequired { bool get(); void set(bool value); }

    Property Value

    true - the field must have a value at the time it is exported by a submit-form action;
    false - the field value can be not specified at the time it is exported by a submit-form action.

    Value of this property is a part of inheritable flag group.
    Property value is taken from the field flags if at least one flag is specified explicitly.
    Property value is taken from the field flags of the field parent in the field hierarchy if not one flag is specified explicitly.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also