IXpsSigningOptions::SetFlags method

Sets the XPS_SIGN_FLAGS value that specifies the signing flags to use for this signature.

Syntax

HRESULT SetFlags(
  [in] XPS_SIGN_FLAGS flags
);

Parameters

  • flags [in]
    The XPS_SIGN_FLAGS value that specifies the signing flags to use for this signature.

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

XPS_SIGN_FLAGS

XML Paper Specification

Standard ECMA-376, Office Open XML File Formats