IPictureMixer2::AddOutlinedTextVB
From MediaLooks Knowledge Base
The AddOutlinedTextVB method of the IPictureMixer2 interface is used to add a text, time or date string, printed with the specified font face and size, as well as the parameters, used in the AddOutlinedText method.
Contents |
Syntax
HRESULT AddOutlinedTextVB( [in] BSTR _bsFontFace, [in] int _dwFontHeight, [in] int _nTextFormat, [in] OVERLAY_PROPS* _pOvlProps, [in,out] SIZE* _pSize, [out] int* _pnCookie );
Parameters
| Name | Description | |
| _bsFontFace | [in] Font face name. | |
| _dwFontHeight | [in] Font height. | |
| _nTextFormat | [in] Method used for formatting the text. For details see DrawText(), uFormat. | |
| _pOvlProps | [in] Properties to apply to the item. For details see OVERLAY_PROPS. | |
| _pSize | [in] Pointer to the minimum rectangle the text will be output to. After the call it points to the actual rectangle the text was output to. | |
| _pnCookie | [out] Cookie of the item. |
Return Values
| Return code | Description |
| S_OK | Success. |
| E_OUTOFMEMORY | Insufficient memory. |
| E_POINTER | Null pointer argument. |
Remarks
None.