EN
Este contenido no se encuentra disponible en su idioma, pero aquí tiene la versión en inglés.

IManipulationProcessor::SupportedManipulations property

The SupportedManipulations property is used to indicate which manipulations are supported by an object.

This property is read/write.

Syntax


HRESULT put_SupportedManipulations(
  [in]  MANIPULATION_PROCESSOR_MANIPULATIONS manipulations
);

HRESULT get_SupportedManipulations(
  [out] MANIPULATION_PROCESSOR_MANIPULATIONS *pManipulations
);

Property value

Sets the manipulations that are supported by the object.

Error codes

Returns S_OK on success; otherwise, returns an error code such as E_FAIL.

Remarks

With this property you can control which manipulations the supports and which it does not. For example, you can block all y-translation manipulations while supporting x-translation manipulations.

Examples



        CoInitialize(0);

        hr = spIManipProc.CoCreateInstance(CLSID_ManipulationProcessor, NULL, CLSCTX_ALL);

        MANIPULATION_PROCESSOR_MANIPULATIONS mpm;
        spIManipProc->get_SupportedManipulations(&mpm);    
        

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Manipulations.h (include Manipulations_i.c)

See also

IManipulationProcessor
Properties
MANIPULATION_PROCESSOR_MANIPULATIONS

 

 

Mostrar: