Condividi tramite


Metodo IXpsOMCoreProperties::SetTitle (xpsobjectmodel.h)

Imposta la proprietà title .

Sintassi

HRESULT SetTitle(
  [in] LPCWSTR title
);

Parametri

[in] title

Stringa da scrivere nella proprietà title . Un puntatore NULL cancella la proprietà title .

Valore restituito

Se il metodo ha esito positivo, restituisce S_OK; in caso contrario, restituisce un codice di errore HRESULT .

Commenti

La proprietà title contiene il nome specificato alla risorsa.

Requisiti

   
Client minimo supportato Windows 7, Windows Vista con SP2 e Aggiornamento della piattaforma per Windows Vista [app desktop | App UWP]
Server minimo supportato Windows Server 2008 R2, Windows Server 2008 con SP2 e Platform Update per Windows Server 2008 [app desktop | App UWP]
Piattaforma di destinazione Windows
Intestazione xpsobjectmodel.h

Vedi anche

IXpsOMCoreProperties

Standard ECMA-376, formati di file XML aperti da Office

XML Paper Specification