IPXC_DocumentInfo::SetCreationDate Method

From PDF XChange PDF SDK
Jump to: navigation, search
Line 17: Line 17:
 
Returns S_OK if operation was successful or error code in other cases.
 
Returns S_OK if operation was successful or error code in other cases.
  
 +
== Sample ==
 +
<pre class="brush:c#">//C#
 +
private void SetDate(PDFXEdit.IPXC_Document Doc)
 +
{
 +
//4 January 1900, 9 P.M.
 +
Doc.Info.SetCreationDate(5.875);
 +
}
 +
</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