IPXC_DocumentInfo::SetCreationDate Method

From PDF XChange PDF SDK
Jump to: navigation, search


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);
}

See Also

IPXC_DocumentInfo