Silverfrost Logo About Us | Contact Us
 

GET_TEXT_SIZE@

Platform

Win32(ClearWin+)

Purpose

To get the dimensions of a graphics character string.

Syntax

SUBROUTINE GET_TEXT_SIZE@( STR, WIDTH, DEPTH )
CHARACTER*(*) STR
INTEGER WIDTH,DEPTH

Description

This routine returns the pixel WIDTH and DEPTH of a given character string STR when drawn on the current drawing surface. Trailing spaces will be included so either use a substring notation or terminate the significant characters by CHAR(0).

 

 

Copyright © 1999-2017 Silverfrost Limited