# IRdFrameProperties Struct Reference

RdFrameProperties interface ///////////////////////////////////////////////////////////////////////. More...

Inherits IRsDataObject.

List of all members.

## Public Member Functions
HRESULT | AddRect ([in] const GUID *pIID,[in] RECT rc)
HRESULT | SetRect ([in] const GUID *pIID,[in] RECT rc)
| set rectangle of frame, specified by ID, or add new if doesn't find
HRESULT | GetRect ([in] const GUID *pIID,[out, retval] RECT *pRect)

## Detailed Description

RdFrameProperties interface ///////////////////////////////////////////////////////////////////////.

## Member Function Documentation

HRESULT IRdFrameProperties::AddRect | ( | [in] const GUID * | pIID,
|  | [in] RECT | rc |
| ) |  |  |

This method adds rectangle and id array of id and rectangles.

Parameters:

  | pIID | [In] Pointer to frame iid.
  | pIndex | [Out] Pointer to buffer where index of frame properties in array is placed.

Returns:
  S_OK When record was successfully added to array.

  S_FALSE When record already exists in array.

  Error code when error occurs.

HRESULT IRdFrameProperties::SetRect | ( | [in] const GUID * | pIID,
|  | [in] RECT | rc |
| ) |  |  |

set rectangle of frame, specified by ID, or add new if doesn't find

HRESULT IRdFrameProperties::GetRect | ( | [in] const GUID * | pIID,
|  | [out, retval] RECT * | pRect |
| ) |  |  |

This method finds frame properties data by given frame iid.

Parameters:

  | pIID | [In] Pointer to frame iid.
  | lpRect | [Out] Pointer to buffer where rectangle is placed.

Returns:
  S_OK When record exists in array.

  S_FALSE When record does not exist in array.

  Error code when error occurs.