Win32 API 日本語リファレンス
ホームStorage.Xps › IXpsOMCanvas

IXpsOMCanvas

COM
IID221d1452-331e-47c6-87e9-6ccefb9b5ba3継承元IXpsOMVisual自前メソッド開始 vtbl30

メソッド 13

vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。

vtbl 30 HRESULT GetVisuals(IXpsOMVisualCollection** visuals)
visualsIXpsOMVisualCollection**outキャンバスに含まれるビジュアル群のコレクションへのポインタを受け取る。
vtbl 31 HRESULT GetUseAliasedEdgeMode(BOOL* useAliasedEdgeMode)
useAliasedEdgeModeBOOL*outエッジをアンチエイリアスせずに描画するモードが有効かどうかを示す BOOL 値を受け取る。
vtbl 32 HRESULT SetUseAliasedEdgeMode(BOOL useAliasedEdgeMode)
useAliasedEdgeModeBOOLinエッジをアンチエイリアスせずに描画するモードを有効にするかどうかを示す BOOL 値を指定する。
vtbl 33 HRESULT GetAccessibilityShortDescription(LPWSTR* shortDescription)
shortDescriptionLPWSTR*outアクセシビリティ用の短い説明文字列を受け取る。
vtbl 34 HRESULT SetAccessibilityShortDescription(LPWSTR shortDescription)
shortDescriptionLPWSTRin設定するアクセシビリティ用の短い説明文字列を指定する。
vtbl 35 HRESULT GetAccessibilityLongDescription(LPWSTR* longDescription)
longDescriptionLPWSTR*outアクセシビリティ用の長い説明文字列を受け取る。
vtbl 36 HRESULT SetAccessibilityLongDescription(LPWSTR longDescription)
longDescriptionLPWSTRin設定するアクセシビリティ用の長い説明文字列を指定する。
vtbl 37 HRESULT GetDictionary(IXpsOMDictionary** resourceDictionary)
resourceDictionaryIXpsOMDictionary**outキャンバスに適用される解決済みのリソースディクショナリへのポインタを受け取る。
vtbl 38 HRESULT GetDictionaryLocal(IXpsOMDictionary** resourceDictionary)
resourceDictionaryIXpsOMDictionary**outローカルに設定されたリソースディクショナリへのポインタを受け取る。設定されていない場合は NULL を受け取る。
vtbl 39 HRESULT SetDictionaryLocal(IXpsOMDictionary* resourceDictionary)
resourceDictionaryIXpsOMDictionary*in設定するローカルのリソースディクショナリを指定する。NULL を指定するとローカルディクショナリを解除する。
vtbl 40 HRESULT GetDictionaryResource(IXpsOMRemoteDictionaryResource** remoteDictionaryResource)
remoteDictionaryResourceIXpsOMRemoteDictionaryResource**outキャンバスに関連付けられたリモートディクショナリリソースへのポインタを受け取る。
vtbl 41 HRESULT SetDictionaryResource(IXpsOMRemoteDictionaryResource* remoteDictionaryResource)
remoteDictionaryResourceIXpsOMRemoteDictionaryResource*in設定するリモートディクショナリリソースを指定する。
vtbl 42 HRESULT Clone(IXpsOMCanvas** canvas)
canvasIXpsOMCanvas**out複製された新しいキャンバスへのポインタを受け取る。

HSP用 COM定義

#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"

出力引数:
#define global IID_IXpsOMCanvas "{221D1452-331E-47C6-87E9-6CCEFB9B5BA3}"
#usecom global IXpsOMCanvas IID_IXpsOMCanvas "{}"
#comfunc global IXpsOMCanvas_GetVisuals                        30 sptr
#comfunc global IXpsOMCanvas_GetUseAliasedEdgeMode             31 var
#comfunc global IXpsOMCanvas_SetUseAliasedEdgeMode             32 int
#comfunc global IXpsOMCanvas_GetAccessibilityShortDescription  33 var
#comfunc global IXpsOMCanvas_SetAccessibilityShortDescription  34 wstr
#comfunc global IXpsOMCanvas_GetAccessibilityLongDescription   35 var
#comfunc global IXpsOMCanvas_SetAccessibilityLongDescription   36 wstr
#comfunc global IXpsOMCanvas_GetDictionary                     37 sptr
#comfunc global IXpsOMCanvas_GetDictionaryLocal                38 sptr
#comfunc global IXpsOMCanvas_SetDictionaryLocal                39 sptr
#comfunc global IXpsOMCanvas_GetDictionaryResource             40 sptr
#comfunc global IXpsOMCanvas_SetDictionaryResource             41 sptr
#comfunc global IXpsOMCanvas_Clone                             42 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。