v2.42
 
ISystemStyleManager Interface Reference

Allows user to obtain system styles. This interface can be obtained from IProject interface. More...

Public Member Functions

HRESULT Contains ([in] int id, [out, retval] VARIANT_BOOL *pContains)
 Indicates whether the manager contains the system style specified by the identifier.
 
HRESULT GetIds ([out, retval] SAFEARRAY(int) *pIds)
 Gets the identifiers of system styles.
 
HRESULT GetSystemStyle ([in] int id, [out, retval] ISystemStyle **ppSystemStyle)
 Returns the system style specified by the identifier.
 

Detailed Description

Allows user to obtain system styles. This interface can be obtained from IProject interface.

See also
IProject, ISystemStyle

Member Function Documentation

◆ Contains()

HRESULT Contains ( [in] int id,
[out, retval] VARIANT_BOOL * pContains )

Indicates whether the manager contains the system style specified by the identifier.

Parameters
[in]idIdentifier of the system style.
[out]pContainsTRUE if the manager contains the system style, FALSE otherwise.

◆ GetIds()

HRESULT GetIds ( [out, retval] SAFEARRAY(int) * pIds)

Gets the identifiers of system styles.

Returns
An array containing the identifiers of system styles.

◆ GetSystemStyle()

HRESULT GetSystemStyle ( [in] int id,
[out, retval] ISystemStyle ** ppSystemStyle )

Returns the system style specified by the identifier.

Parameters
[in]idIdentifier of the system style.
[out]ppSystemStylethe requested beam style, or nullptr if the system style is not found.