IDirectManipulationContent::SetContentRect method

Specifies the bounding rectangle of the content, relative to its viewport.

Syntax


HRESULT SetContentRect(
  [in]  const RECT *contentSize
);

Parameters

contentSize [in]

The bounding rectangle of the content.

Return value

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

Remarks

The default bounding rectangle is (-FLT_MAX, -FLT_MAX, FLT_MAX, FLT_MAX).

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_IDirectManipulationContent is defined as B89962CB-3D89-442B-BB58-5098FA0F9F16

See also

IDirectManipulationContent

 

 

Community Additions

ADD
Show:
© 2014 Microsoft