[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.AcroForms.TextField.SetDateValue

SetDateValue Method

SetDateValue(DateTime, string)

Imposes the specified date format string on the current TextField, and assigns to it the specified value as a date.

The syntax of the format string is similar to .NET format strings. Some examples are "m/d/yyyy" or "d-mmm-yy".

Declaration
public void SetDateValue(DateTime value, string format)
Public Sub SetDateValue(value As Date, format As String)
Parameters
Type Name Description
DateTime value

The value to assign.

string format

The format string. Cannot be null or empty.