IPXC_DocumentInfo::SetCreationDate Method
From PDF XChange PDF SDK
(→Sample) |
|||
Line 21: | Line 21: | ||
private void SetDate(PDFXEdit.IPXC_Document Doc) | private void SetDate(PDFXEdit.IPXC_Document Doc) | ||
{ | { | ||
− | // | + | //Setting creation date as current date without hours |
− | + | destDoc.Info.SetCreationDate(DateTime.Today); | |
} | } | ||
</pre> | </pre> |
Latest revision as of 01:24, 16 March 2016
The method of interface of PDF-XChange Editor SDK.
Syntax
HRESULT SetCreationDate([in] DATE nDate);
Parameters
- nDate
- [in] Value of DATE containing the creation date.
Return Value
Returns S_OK if operation was successful or error code in other cases.
Sample
//C# private void SetDate(PDFXEdit.IPXC_Document Doc) { //Setting creation date as current date without hours destDoc.Info.SetCreationDate(DateTime.Today); }