TE Edit Control Win32 / Win64 Help
Product page

TerDeleteObject

Delete a font, picture or an ole object id.

BOOL TerDeleteObject(hWnd, id)
HWND hWnd;The handle of the window to be accessed
int id;A font id to delete. A font id might represent a font, picture or an ole object. Your application must ensure that the font id is not in use in the document before using this function to delete it.

Return Value: This function returns TRUE if successful.