Share via


Interface IPrinterScriptablePropertyBag (printerextension.h)

L’interface IPrinterScriptablePropertyBag est l’interface de conteneur de propriétés transmise aux clients de script.

Cette interface est identique à IPrinterPropertyBag, sauf que les méthodes GetBytes et SetBytes fonctionnent sur des tableaux JavaScript et que les méthodes GetReadStream et GetWriteStream fonctionnent sur les objets IPrinterScriptableStream .

Héritage

L’interface IPrinterScriptablePropertyBag hérite de l’interface IUnknown.

Méthodes

L’interface IPrinterScriptablePropertyBag a ces méthodes.

 
IPrinterScriptablePropertyBag ::GetBool

Obtient une propriété booléenne spécifiée.
IPrinterScriptablePropertyBag ::GetBytes

Obtient une propriété de tableau d’octets.
IPrinterScriptablePropertyBag ::GetInt32

Obtient une propriété integer.
IPrinterScriptablePropertyBag ::GetReadStream

Obtient un flux de lecture et l’utilise pour lire à partir d’une propriété.
IPrinterScriptablePropertyBag ::GetString

Obtient une propriété de chaîne.
IPrinterScriptablePropertyBag ::GetWriteStream

Obtient un flux et l’utilise pour écrire dans une propriété de flux.
IPrinterScriptablePropertyBag ::SetBool

Découvrez comment cette méthode écrit une valeur de propriété booléenne spécifiée.
IPrinterScriptablePropertyBag ::SetBytes

Découvrez comment cette méthode écrit une propriété de tableau d’octets.
IPrinterScriptablePropertyBag ::SetInt32

Découvrez comment cette méthode écrit une propriété entière.
IPrinterScriptablePropertyBag ::SetString

Découvrez comment cette méthode écrit une propriété de chaîne.

Configuration requise

Condition requise Valeur
Client minimal pris en charge Windows 8
Serveur minimal pris en charge Windows Server 2012
Plateforme cible Windows
En-tête printerextension.h

Voir aussi

IPrinterPropertyBag

IPrinterScriptContext ::D riverProperties

IPrinterScriptContext ::QueueProperties

IPrinterScriptContext ::UserProperties

IPrinterScriptableStream

Sacs de propriétés du pilote d’imprimante V4