[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.AcroForms.ComboBoxField.SetDateValue

SetDateValue Method

SetDateValue(DateTime, string)

Imposes the specified date format string on the current ComboBoxField, 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)
Parameters
Type Name Description
DateTime value

The value to assign.

string format

The format string. Cannot be null or empty.