XPS_E_INVALID_LOOKUP_TYPE

Code: 0x80520006 (2152857606)

As HRESULT:As NTSTATUS:

Documented in Win32

XPS Document Errors (xpsobjectmodel.h): 0x80520006

The lookup key name references an object that is not the correct type for the call; for example, if the method returns a brush but the lookup key name refers to a geometry object.