Skip to content

Latest commit

 

History

History
42 lines (31 loc) · 920 Bytes

File metadata and controls

42 lines (31 loc) · 920 Bytes

TextSize

Description

Procedure TextSize sets the active text size of a VectorWorks document.

Text size is specified in points (1 point = 1/72"). If 0 is specified, then the font size will default to 12 pt text.

PROCEDURE TextSize(size : REAL);
def vs.TextSize(size):
    return None

Parameters

Name Type Description
size REAL Point size of text.

Remarks

The size parameter is now a REAL so fractional point sizes can be specified. This should be fully compatible with existing VectorScript code. [9/14/98 - PCP]

Text size is in page-space and does not take drawing scale into account. [9/14/98 - PCP]

Examples

VectorScript

TextSize(18);
{set the active text size to 18 point}

Python

Version

Availability: from All Versions

Category