API 文件集 > Graphics and model display > Object ProText > Function ProTextStyleIsHeightInModelUnits
Function ProTextStyleIsHeightInModelUnits
Description
Obtains if the text height will be in relation to the model units or a fraction of the screen size. Used for flat-to-screen annotations. The default value is as a fraction of the screen size.
Replacement in Object TOOLKIT:
Synopsis
#include <ProNote.h>
ProTextStyleIsHeightInModelUnits
(
ProTextStyle text_style
/* (In)
The text style.
*/
ProBoolean* is_height_in_model_units
/* (Out)
PRO_B_TRUE if the text height is in model units, PRO_B_FALSE if the text height is relative to the screen size.
*/
)
Returns
The function succeeded.
One or more input arguments was invalid.
The text style uses the default value.
User Guide References
這是否有幫助?