Documentation de l'API > Custom user interface > Object ProUIDrawingarea > Function ProUIDrawingareaStringsizeGet
Function ProUIDrawingareaStringsizeGet
Description
Get the size that the given text string will occupy in the drawing area, given the current drawing area font settings.
Synopsis
ProUIDrawingareaStringsizeGet
(
char* dialog
/* (In)
The name of the dialog that contains the drawing area.
*/
char* component
/* (In)
The name of the drawing area component.
*/
wchar_t* string
/* (In)
Text string.
*/
ProUISize* size
/* (Out)
Size that the text string will occupy in the drawing area.
*/
)
Returns
The function succeeded.
The function failed.
One or more input arguments was invalid.
User Guide References
Est-ce que cela a été utile ?