IXpsOMGlyphs::SetStyleSimulations 方法 (xpsobjectmodel.h)
設定呈現圖像時所套用的樣式模擬。
語法
HRESULT SetStyleSimulations(
[in] XPS_STYLE_SIMULATION styleSimulations
);
參數
[in] styleSimulations
XPS_STYLE_SIMULATION值,指定要套用的樣式模擬。
傳回值
方法會傳回 HRESULT。 可能的值包括下列資料表中的值,但不限於這些值。 如需此表格中未列出的 XPS 檔 API 傳回值的相關資訊,請參閱 XPS 檔錯誤。
傳回碼 | 描述 |
---|---|
|
此方法已成功。 |
|
styleSimulations 不是有效的 XPS_STYLE_SIMULATION 值。 |
規格需求
最低支援的用戶端 | 適用于 Windows Vista 的 Windows 7、Windows Vista SP2 和平臺更新 [傳統型應用程式 |UWP 應用程式] |
最低支援的伺服器 | Windows Server 2008 R2、Windows Server 2008 SP2 和 Platform Update for Windows Server 2008 [傳統型應用程式 |UWP 應用程式] |
目標平台 | Windows |
標頭 | xpsobjectmodel.h |