Partager via


IXpsSigningOptions::SetSignaturePartName method

Sets the part name of the document's signature part.

Syntax

HRESULT SetSignaturePartName(
  [in] IOpcPartUri *signaturePartName
);

Parameters

  • signaturePartName [in]
    The IOpcPartUri interface that contains the part name of the document's signature part.

    If this parameter is NULL, this method will generate a random, unique part name for the signature part.

Return value

If the method succeeds, it returns S_OK; otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Xpsdigitalsignature.h

IDL

XpsDigitalSignature.idl

See also

IXpsSigningOptions

IOpcPartUri

IOpcSigningOptions

XML Paper Specification