←Select platform

AsDate Method

Summary

Helper method to convert a schema value to a date object.

Syntax
C#
Java
public DateTime AsDate( 
   string value 
) 

public java.util.Date asDate( 
   java.lang.String string 
); 

Parameters

value

String containing the value to convert.

Return Value

The converted value as a date, or an empty DateTime if the value could not be converted.

Remarks

Refer to PDFDocument.EmbeddedFiles for more information on using PDFSchema with PDF portfolio and embedded files.

Example

For an example, refer to EmbeddedFiles.

Requirements
Target Platforms
Help Version 21.0.2021.7.6
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Pdf Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.