VintaSoft Imaging .NET SDK v8.6
Vintasoft.Imaging.Pdf.Tree.InteractiveForms Namespace / PdfInteractiveFormField Class / IsReadOnly Property



In This Topic
    IsReadOnly Property (PdfInteractiveFormField)
    In This Topic
    Gets or sets a value indicating whether the field is read-only.
    Syntax
    'Declaration
     
    <DefaultValueAttribute()>
    <DescriptionAttribute("A value indicating whether the field is read-only.")>
    <CategoryAttribute("Common")>
    Public Property IsReadOnly As Boolean
    [DefaultValue()]
    [Description("A value indicating whether the field is read-only.")]
    [Category("Common")]
    public bool IsReadOnly {get; set;}
    [DefaultValue()]
    [Description("A value indicating whether the field is read-only.")]
    [Category("Common")]
    public: __property bool get_IsReadOnly();
    public: __property void set_IsReadOnly( 
       bool value
    );
    [DefaultValue()]
    [Description("A value indicating whether the field is read-only.")]
    [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: Windows 10, Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also