Functions

Functions

StatusInt mdlDialog_labelSetAttributes (RawItemHdr *labelP, UInt32 attributes)
 Sets the attributes of the label item indicated by labelP. More...
 
StatusInt mdlDialog_labelGetAttributes (UInt32 *attributesP, RawItemHdr *labelP)
 Gets the attributes of the label item indicated by labelP. More...
 

Detailed Description

Function Documentation

StatusInt mdlDialog_labelGetAttributes ( UInt32 attributesP,
RawItemHdr labelP 
)

Gets the attributes of the label item indicated by labelP.

Parameters
[out]attributesPpoints to an integer that will receive a combination of the constants LABEL_FONT_BOLD, LABEL_WORDWRAP, and so on.
[in]labelPis a pointer to the RawItemHdr of the label whose attributes are to be retrieved.
Returns
SUCCESS, or non-zero value if there is an error.
StatusInt mdlDialog_labelSetAttributes ( RawItemHdr labelP,
UInt32  attributes 
)

Sets the attributes of the label item indicated by labelP.

Parameters
[in]labelPis a pointer to the RawItemHdr of the label whose attributes are to be changed.
[in]attributesis a bitmapped integer that may contain combinations of the constants ALIGN_LEFT, ALIGN_RIGHT, ALIGN_CENTER, LABEL_FONT_BOLD, LABEL_WORDWRAP, and so on.
Returns
SUCCESS, or non-zero value if there is an error.

Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.