v2.26
IBeamStyleManager Interface Reference

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

Inheritance diagram for IBeamStyleManager:

Public Member Functions

HRESULT GetIds ([out, retval] SAFEARRAY(int) *pIds)
 Gets the identifiers of beam styles. More...
 
HRESULT Contains ([in] int id, [out, retval] VARIANT_BOOL *pContains)
 Indicates whether the manager contains the beam style specified by the identifier. More...
 
HRESULT GetBeamStyle ([in] int id, [out, retval] IBeamStyle **ppBeamStyle)
 Returns the beam style specified by the identifier. More...
 

Detailed Description

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

See also
IProject, IBeamStyle

Member Function Documentation

◆ Contains()

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

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

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

◆ GetBeamStyle()

HRESULT IBeamStyleManager::GetBeamStyle ( [in] int  id,
[out, retval] IBeamStyle **  ppBeamStyle 
)

Returns the beam style specified by the identifier.

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

◆ GetIds()

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

Gets the identifiers of beam styles.

Returns
An array containing the identifiers of beam styles.