IPXC_DocumentInfo::SetModificationDate Method

From PDF XChange PDF SDK
Jump to: navigation, search
 
Line 16: Line 16:
 
== Return Value ==
 
== Return Value ==
 
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)
 +
{
 +
//Setting modification date as current date without hours
 +
destDoc.Info.SetModificationDate(DateTime.Today);
 +
}
 +
</pre>
  
 
== See Also ==
 
== See Also ==
 
[[PXV:IPXC_DocumentInfo|IPXC_DocumentInfo]]
 
[[PXV:IPXC_DocumentInfo|IPXC_DocumentInfo]]

Latest revision as of 02:25, 16 March 2016


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT SetModificationDate([in]  DATE  nDate);

Parameters

nDate
[in] Value of DATE containing the document's modification 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 modification date as current date without hours
	destDoc.Info.SetModificationDate(DateTime.Today);
}

See Also

IPXC_DocumentInfo