共用方式為


IPrinterScriptablePropertyBag 介面 (printerextension.h)

IPrinterScriptablePropertyBag 介面是傳遞至腳本客戶端的屬性包介面。

這個介面與 IPrinterPropertyBag相同,不同之處在於 GetBytes 和 SetBytes 方法在 JavaScript 陣組上運作,而 GetReadStream 和 GetWriteStream 方法在 IPrinterScriptableStream 對象上運作。

遺產

IPrinterScriptablePropertyBag 介面繼承自 IUnknown 介面

方法

IPrinterScriptablePropertyBag 介面具有這些方法。

 
IPrinterScriptablePropertyBag::GetBool

取得指定的布爾值屬性。
IPrinterScriptablePropertyBag::GetBytes

取得位元組數位屬性。
IPrinterScriptablePropertyBag::GetInt32

取得整數屬性。
IPrinterScriptablePropertyBag::GetReadStream

取得讀取數據流,並使用它從 屬性讀取。
IPrinterScriptablePropertyBag::GetString

取得字串屬性。
IPrinterScriptablePropertyBag::GetWriteStream

取得數據流,並使用它寫入數據流屬性。
IPrinterScriptablePropertyBag::SetBool

瞭解此方法如何寫入指定的布爾屬性值。
IPrinterScriptablePropertyBag::SetBytes

瞭解此方法如何撰寫位元組數位屬性。
IPrinterScriptablePropertyBag::SetInt32

瞭解此方法如何寫入整數屬性。
IPrinterScriptablePropertyBag::SetString

瞭解此方法如何寫入字串屬性。

要求

要求 價值
最低支援的用戶端 Windows 8
支援的最低伺服器 Windows Server 2012
目標平臺 窗戶
標頭 printerextension.h

另請參閱

IPrinterPropertyBag

IPrinterScriptContext::D riverProperties

IPrinterScriptContext::QueueProperties

IPrinterScriptContext::UserProperties

IPrinterScriptableStream

V4 印表機驅動程式屬性包