de_edit_text_attribute()

Edits the attributes of selected text components in the current representation. Returns: none.

Syntax:

de_edit_text_attribute(font, height, angle, just, absolute, isPoint);

where

font is a string indicating text font.

height is the height of the text in user units or points.

angle is the angle of text in degrees.

just is a field composed of the or of the first four bits of an integer. The first two bits represent the top, center, bottom vertical justification, while the next two represent the left, middle, right horizontal justification. The default justification is left, bottom (9 or 1001 binary).

absolute defines mode of text rotation, where:

  • TRUE = text on a symbol or design does not rotate when the symbol or design is rotated
  • FALSE = text on a symbol or design rotates when the symbol or design is rotated; default

isPoint informs whether height is in user units or point size, where:

  • TRUE = height is in points
  • FALSE = height is in user units

Example:
de_edit_text_attribute("Ariel For CAE", 10, 0, 9, 0, TRUE);

Where Used:

Schematic, Layout

 

Privacy Statement  | Terms of Use  | Legal | Contact Us  | © Agilent 2000-2008 

Contents
Additional Resources