Query_Lang-SCHFunctions_Fields_TextHorizontalAnchorTextHorizontalAnchor_AD

This document is no longer available beyond version 4. Information can now be found here: TextHorizontalAnchor for version 5

Applies to NEXUS Client version: 4

This documentation page references Altium NEXUS/NEXUS Client (part of the deployed NEXUS solution), which has been discontinued. All your PCB design, data management and collaboration needs can now be delivered by Altium Designer and a connected Altium 365 Workspace. Check out the FAQs page for more information.

Parent page: Schematic Query Functions - Fields

Summary

Returns all parameter objects whose Text Horizontal Anchor property complies with the Query.

Syntax

TextHorizontalAnchor = TextHorizontalAnchor_String
TextHorizontalAnchor <> TextHorizontalAnchor_String

TextHorizontalAnchor_String specifies the anchor point, and must be one of the following strings:

  • 'Both'
  • 'Left'
  • 'None'
  • 'Right'

Example Usage

TextHorizontalAnchor = 'Left'
Returns all parameter objects whose Text Horizontal Anchor property is Left.

TextHorizontalAnchor <> 'Right'
Returns all objects except parameter objects whose Text Horizontal Anchor property is Right.

IsParameter && TextHorizontalAnchor <> 'None'
Returns all parameter objects except those whose Text Horizontal Anchor property is None.

Tips

  1. The single quote characters (') at the start and end of TextHorizontalAnchor_String are mandatory.
  2. The Text Horizontal Anchor property is only defined for parameter objects.