IPXC_DocumentInfo::SetModificationDate Method
From PDF XChange PDF SDK
(Automatic page editing by robot) |
|||
(One intermediate revision by the same user not shown) | |||
Line 3: | Line 3: | ||
{{#customTitle:IPXC_DocumentInfo::SetModificationDate Method}} | {{#customTitle:IPXC_DocumentInfo::SetModificationDate Method}} | ||
{{#parentPage:PXV:IPXC_DocumentInfo#Methods|SetModificationDate|method}} | {{#parentPage:PXV:IPXC_DocumentInfo#Methods|SetModificationDate|method}} | ||
− | |||
{{ToReview}} | {{ToReview}} | ||
Line 13: | Line 12: | ||
== Parameters == | == Parameters == | ||
;nDate | ;nDate | ||
− | :[in] Value of DATE. | + | :[in] Value of DATE containing the document's modification date. |
== 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 01: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); }