XFINIUM.PDF Documentation
Required Property



Xfinium.Pdf.Forms Namespace > PdfField Class : Required Property
Gets or sets a value indicating whether the field is required.
Syntax
'Declaration
 
Public Property Required As Boolean
'Usage
 
Dim instance As PdfField
Dim value As Boolean
 
instance.Required = value
 
value = instance.Required
public bool Required {get; set;}
public:
property bool Required {
   bool get();
   void set (    bool value);
}

Property Value

If true, the field shall have a value at the time it is exported by a submit-form action
Requirements

Supported .NET Platforms: .NET 4.0 and higher, Windows Forms, ASP.NET, Windows Presentation Foundation 4.x, Silverlight 5, WinRT, Universal Windows Platform, Xamarin Mac, iOS & Android, Portable Class Library, .NET Core, .NET Standard


Target Platforms:Windows 10, Windows 8.1, Windows 8 , Windows 7, Windows Vista SP1 or later, Windows Server 2008, Windows Server 2008 R2

See Also

Reference

PdfField Class
PdfField Members