AfmQueryText

AfmQueryText

Syntax

AfmQueryText nJustification strLayer dHeight
bActualHeight dXoffset dYoffset
bOneLinePerField strFieldDelimiter bShowDialog bReuseExistingParams)

Comments

This function actually issues the query text command. The parameters give characteristics for the query.

Note: To control the placement of the generated Query Text Label, prior to calling the QueryText function, call the (AfmQueryTextSetPlacement placement) function .

nJustification gives the text justification: 0 for left, 1 for center, 2 for right.

strLayer is the layer on which the query text entities are to be created.

dHeight specifies the height of the text to be created.

bActualHeight should be t if dHeight is in AutoCAD units, nil if dHeight is the plotted height (the height the text should appear on the actual plot).

dXoffset and dYoffset specify a distance, in AutoCAD units, that the text should be offset from the asset symbol's text insertion point.

bOneLinePerField is t if each field of information should be given its own line, and nil if information should be concatenated on one line. In the latter case, if a query has both an owner and an assigned table, the owner information is shown on one concatenated line of query text and the assigned information on a separate line.

strFieldDelimiter If bOneLinePerField is nil, this is the delimiter used to separate the different fields of information.

bShowDialog If t, the function shows a dialog with the text characteristics for the user to change for that invocation. If nil, the function does not show a dialog and executes the function immediately.

bReuseExistingParams If t, the function will use the above list of parameters as specified from a previous call to AfmQueryText . If nil, the function uses the list of passed in parameters in this call.