KeyAddRect Method (MKeyClass)
horizontal position of 1st point
vertical position of 1st point
horizontal position of 2nd point
vertical position of 2nd point
additional properties
output frame
Add rectangle to key
Syntax
Public Overridable Sub KeyAddRect( _
   ByVal _nX1PosPixels As Integer, _
   ByVal _nY1PosPixels As Integer, _
   ByVal _nX2PosPixels As Integer, _
   ByVal _nY2PosPixels As Integer, _
   ByVal _bsProps As String, _
   ByRef _ppMFrameRes As Object _
) 
public: virtual void KeyAddRect( 
   int _nX1PosPixels,
   int _nY1PosPixels,
   int _nX2PosPixels,
   int _nY2PosPixels,
   BSTR* _bsProps,
   [PARAMFLAG::Out] IUnknown* _ppMFrameRes
) 

Parameters

_nX1PosPixels
horizontal position of 1st point
_nY1PosPixels
vertical position of 1st point
_nX2PosPixels
horizontal position of 2nd point
_nY2PosPixels
vertical position of 2nd point
_bsProps
additional properties
_ppMFrameRes
output frame
Example

See Also

Reference

MKeyClass Class
MKeyClass Members