Skip to content

Latest commit

 

History

History
57 lines (47 loc) · 1.25 KB

File metadata and controls

57 lines (47 loc) · 1.25 KB

LinkText

Description

Creates a linked text field in a newly created symbol. The specified text is linked to a record field, whose value is displayed by the text object.

LinkText must be called during symbol creation; the record to be associated with the linked text string must also exist at the time the link is created.

PROCEDURE LinkText(
				h   : HANDLE;
				rec : STRING;
				fld : STRING);
def vs.LinkText(h, rec, fld):
    return None

Parameters

Name Type Description
h HANDLE Handle to text object that will be linked to record.
rec STRING Name of record that will be linked to text string.
fld STRING Name of field that will be linked to text string.

Examples

VectorScript

BeginSym('Symbol #2');
Oval(-3/4",1/2",3/4",-1/2");
TextFont(3);
TextSize(12.00037);
TextJust(1);
TextOrigin(0.8611111",0.5138889");
BeginText;
'Field 9 String'
EndText;
LinkText(LNewObj,'Sample Format','Field 1');
EndSym;
Record(LNewObj,'Sample Format');

Python

See Also

VS Functions: BeginSym | EndSym

Version

Availability: from All Versions

Category