IDirectManipulationViewport::AddContent method

Adds secondary content, such as a panning indicator, to a viewport.

Syntax


HRESULT AddContent(
  [in, unique]  IDirectManipulationContent *content
);

Parameters

content [in]

The content to add to the viewport.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

Secondary content is created by calling CreateContent. Once added, the secondary content will move relative to the primary content in response to a manipulation. Its motion is determined by rules associated with each type of secondary content.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

DirectManipulation.h

IDL

DirectManipulation.idl

IID

IID_IDirectManipulationViewport is defined as 28b85a3d-60a0-48bd-9ba1-5ce8d9ea3a6d

See also

IDirectManipulationViewport

 

 

Community Additions

ADD
Show:
© 2015 Microsoft