IPXC_Document::DeferedDigitalSign Method

From PDF XChange PDF SDK
Jump to: navigation, search
(Automatic page editing by robot)
 
 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
{{#customTitle:IPXC_Document::DeferedDigitalSign Method}}
 
{{#customTitle:IPXC_Document::DeferedDigitalSign Method}}
 
{{#parentPage:PXV:IPXC_Document#Methods|DeferedDigitalSign|method}}
 
{{#parentPage:PXV:IPXC_Document#Methods|DeferedDigitalSign|method}}
{{ToWrite}}
 
 
{{ToReview}}
 
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
Adds a digital signature to the document, signs and places as required on the specified page. Note that the signature will be applied only after the document was saved.
  
 
== Syntax ==
 
== Syntax ==
Line 20: Line 19:
 
== Parameters ==
 
== Parameters ==
 
;pCert
 
;pCert
:[in]  Pointer to [[PXV:_CERT_CONTEXT|_CERT_CONTEXT]].
+
:[in]  Pointer to [https://msdn.microsoft.com/en-us/library/windows/desktop/aa377189(v=vs.85).aspx _CERT_CONTEXT] containing both the encoded and decoded representations of a certificate.
 
;nFlags
 
;nFlags
:[in]  Value of ULONG.
+
:[in]  Value of ULONG containing the [[PXV:PXC_SignDocumentFlags|sign document flags]] that determine how the signature field should appear on the page.
 
;nPageIdx
 
;nPageIdx
:[in]  Value of ULONG.
+
:[in]  Value of ULONG containing the page index on which the signature field should be placed.
 
;pRect
 
;pRect
:[in]  Pointer to [[PXV:PXC_Rect|PXC_Rect]].
+
:[in]  Pointer to [[PXV:PXC_Rect|PXC_Rect]] specifying the bounding rectangle of the signature field.
 
;sReason
 
;sReason
:[in]  Value of LPWSTR.
+
:[in]  Value of LPWSTR specifying the reason for signing, such as (I agree...).  
 
;sLocation
 
;sLocation
:[in]  Value of LPWSTR.
+
:[in]  Value of LPWSTR specifying the CPU host name or physical location of the signing.
 
;sContactInfo
 
;sContactInfo
:[in]  Value of LPWSTR.
+
:[in]  Value of LPWSTR specifying the information provided by the signatory to enable a recipient to contact the signatory to verify the signature; for example, a phone number.
 
;sImageFile
 
;sImageFile
:[in]  Value of LPWSTR.
+
:[in]  Value of LPWSTR specifying the full path and file name of the image (if any) to be displayed within the signature field.
  
 
== Return Value ==
 
== Return Value ==

Latest revision as of 23:50, 25 April 2016


Adds a digital signature to the document, signs and places as required on the specified page. Note that the signature will be applied only after the document was saved.

Syntax

HRESULT DeferedDigitalSign([in]  _CERT_CONTEXT*  pCert,
                           [in]  ULONG           nFlags,
                           [in]  ULONG           nPageIdx,
                           [in]  PXC_Rect*       pRect,
                           [in]  LPWSTR          sReason,
                           [in]  LPWSTR          sLocation,
                           [in]  LPWSTR          sContactInfo,
                           [in]  LPWSTR          sImageFile);

Parameters

pCert
[in] Pointer to _CERT_CONTEXT containing both the encoded and decoded representations of a certificate.
nFlags
[in] Value of ULONG containing the sign document flags that determine how the signature field should appear on the page.
nPageIdx
[in] Value of ULONG containing the page index on which the signature field should be placed.
pRect
[in] Pointer to PXC_Rect specifying the bounding rectangle of the signature field.
sReason
[in] Value of LPWSTR specifying the reason for signing, such as (I agree...).
sLocation
[in] Value of LPWSTR specifying the CPU host name or physical location of the signing.
sContactInfo
[in] Value of LPWSTR specifying the information provided by the signatory to enable a recipient to contact the signatory to verify the signature; for example, a phone number.
sImageFile
[in] Value of LPWSTR specifying the full path and file name of the image (if any) to be displayed within the signature field.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

IPXC_Document