VS:SetTextSize

From Vectorworks Developer
Revision as of 10:38, 12 August 2013 by Root (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix


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

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]

Example

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
Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox