VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.Pdf.Tree.InteractiveForms Namespace / PdfInteractiveFormField Class / IsReadOnly Property
Syntax Remarks Requirements SeeAlso
In This Topic
    IsReadOnly Property (PdfInteractiveFormField)
    In This Topic
    Gets or sets a value indicating whether the field is read-only.
    Syntax
    'Declaration
    
    <DescriptionAttribute("A value indicating whether the field is read-only.")>
    <DefaultValueAttribute(False)>
    <CategoryAttribute("Common")>
    Public Property IsReadOnly As Boolean
    
    
    [Description("A value indicating whether the field is read-only.")]
    [DefaultValue(False)]
    [Category("Common")]
    public bool IsReadOnly { get; set; }
    
    
    [Description("A value indicating whether the field is read-only.")]
    [DefaultValue(False)]
    [Category("Common")]
    public: __property bool get_IsReadOnly();
    public: __property void set_IsReadOnly(
    bool value
    );
    [Description("A value indicating whether the field is read-only.")]
    [DefaultValue(False)]
    [Category("Common")]
    public:
    property bool IsReadOnly { bool get(); void set(bool value); }

    Property Value

    true - the user may NOT change the value of the field; any associated widget annotations will not interact with the user, i.e. they will not respond to mouse clicks or change their appearance in response to mouse motions.
    false - the user may change the value of the field.

    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.
    Remarks

    This flag is useful for fields whose values are computed or imported from a database.

    Requirements

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

    See Also