Skip to content

Latest commit

 

History

History
45 lines (36 loc) · 1.12 KB

File metadata and controls

45 lines (36 loc) · 1.12 KB

SetTextSize

Description

Procedure SetTextSize sets the text size of a specified substring in the referenced text object. Parameters Start and Count specify the substring start position and substring length. Parameter Size specifies the size (in points) to be assigned to the substring.

PROCEDURE SetTextSize(
				objectHd : HANDLE;
				Start    : INTEGER;
				Count    : INTEGER;
				Size     : REAL);
def vs.SetTextSize(objectHd, Start, Count, Size):
    return None

Parameters

Name Type Description
objectHd HANDLE Handle to text object.
Start INTEGER Start position in text string.
Count INTEGER Length of substring.
Size REAL Text size setting for substring.

Remarks

The size parameter was previously an integer, but is now a floating point value. [9/14/98 - PCP]

Examples

VectorScript

SetTextSize(HandleToText,0,5,24);
{set the first five characters of the referenced text string to 24 point text}

Python

Version

Availability: from MiniCAD6.0

Category