IPXC_DocumentInfo::SetCreationDate Method

From PDF XChange PDF SDK
Jump to: navigation, search
(Sample)
Line 22: Line 22:
 
{
 
{
 
//4 January 1900, 9 P.M.
 
//4 January 1900, 9 P.M.
Doc.Info.SetCreationDate(5.875);
+
    Doc.Info.SetCreationDate(5.875);
 
}
 
}
 
</pre>
 
</pre>
 +
 
== See Also ==
 
== See Also ==
 
[[PXV:IPXC_DocumentInfo|IPXC_DocumentInfo]]
 
[[PXV:IPXC_DocumentInfo|IPXC_DocumentInfo]]

Revision as of 01:51, 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)
{
//4 January 1900, 9 P.M.
    Doc.Info.SetCreationDate(5.875);
}

See Also

IPXC_DocumentInfo