Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the font's Bold property.
Syntax
HRESULT put_Bold(
[in] BOOL bold
);
Parameters
[in] bold
The new Bold property for the font.
Return value
This method can return one of these values.
Return code | Description |
---|---|
|
The bold state was changed successfully. |
|
The font does not support a bold state. Note that this is not an error condition. |
Remarks
Changing the Bold property may also change the Weight property. Setting the Bold property to TRUE sets the Weight property to FW_BOLD (700); setting the Bold property to FALSE sets the Weight property to FW_NORMAL (400).
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | ocidl.h |