Creates a duplicate font object with a state identical to the current font.
HRESULT Clone(
IFont** ppfont |
//Indirect pointer to the new font object |
); |
Parameters
Return Values
The method supports the standard return values E_UNEXPECTED and E_OUTOFMEMORY, as well as the following:
Remarks
The new font object is entirely independent of the first. The caller is responsible for releasing this new object when it is no longer needed. This method does not affect the reference count of the font being cloned.