• Return to Home Page
    • Solutions
      Industries
      • Academic and Research
      • Aerospace, Defense, and Government
      • Electronics
      • Energy
      • Industrial Machinery
      • Life Sciences
      • Semiconductor
      • Transportation
      Product Life Cycles
      • Design and Prototype
      • Validation
      • Production
      Focus Areas
      • 5G and 6G Technology
      • ADAS and Autonomous Driving Testing
      • Artificial Intelligence
      • Electric Vehicle Test
      • Lifecycle Analytics
      • Radar and Electronic Warfare
      • Space Launch and Exploration
      • Validation Lab Innovations
      See our approach to solutions
      Get a Helping Hand
      From troubleshooting technical issues and product recommendations, to quotes and orders, we’re here to help.
      Contact Us
    • Products
      Software
      View All Software
      Test Automation
      • LabVIEW
      • LabVIEW+ Suite
      • TestStand (Test Execution)
      • VeriStand (HIL Test Development)
      Free Interactive Test Software
      • FlexLogger (for DAQ hardware)
      • InstrumentStudio (for PXI hardware)
      Test Analytics and Operations
      • DIAdem (for Analysis and Visualization)
      • SystemLink (Test Operations)
      • OptimalPlus GO (Manufacturing Analytics)
      SERVICES
      View All Services
      • Repair Services
      • Calibration
      • Training Courses
      HARDWARE
      View All Hardware
      Data Acquisition and Control
      • Learn About DAQ
      • New DAQ Hardware (mioDAQ)
      • Multifunction I/O
      • Voltage
      • Digital I/O
      • Temperature
      • Sound and Vibration
      • Current
      • Strain, Pressure, and Force
      Communication Interfaces
      • Software Defined Radios
      • GPIB, Serial, and Ethernet
      • Industrial Communication Buses
      • Vehicle Communication Buses
      • Avionics Communication Buses
      PXI Instrumentation
      • Switches
      • Oscilloscopes
      • Digital Multimeters
      • Waveform Generators
      • RF Signal Generators
      • SMUs and LCR Meters
      • Power Supplies and Loads
      • Vector Signal Transceivers
      • FlexRIO Instruments
      Accessories
      • Power Accessories
      • Connectors
      • Cables
      • Sensors
      RESOURCES
      • Ordering Resources
      • Distributors
      • System Advisors
      See all products
      CompactDAQ

      Modular Data Acquisition

      CompactRIO

      Distributed Measurement and Control

      PXI

      High-Performance Test

      LabVIEW+ Suite

      Automated Test System Development Software

    • Perspectives
      Perspectives

      Perspectives showcases how NI sees what’s next in the world of test and technology.

      View all articles
      Charting the Course for Test Development with LabVIEW
      LabVIEW remains key in test, promising speed, efficiency, and new features with NI’s investment in core tech, community, and integration.
      Read our featured article
    • Support
      Resources
      View All Support Resources
      • Software Downloads
      • Register and Activate
      • Product Documentation
      • Release Notes
      • Training Courses
      • On-Demand Learning
      • KnowledgeBase
      • Code Examples
      Request Support

      You can request repair, RMA, schedule calibration, or get technical support. A valid service agreement may be required.

      Open a service request
      Popular Software Downloads
      See all Software Product Downloads
      icon of LabVIEW logo
      LabVIEW
      icon of Multisim logo
      Multisim
      icon of Academic Volume License logo
      Academic Volume License
      Popular Driver Downloads
      See all Driver Software Downloads
      • NI-DAQmx

        Provides support for NI data acquisition and signal conditioning devices. 

      • NI-VISA

        Provides support for Ethernet, GPIB, serial, USB, and other types of instruments. 

      • NI-488.2

        Provides support for NI GPIB controllers and NI embedded controllers with GPIB ports. 

    • Community
    • Partners
    • Contact Usflag representing the selected language
    • My Account
    • Search
  • Cart
    • Solutions
      • Back
      • Industries
      • Academic and Research
      • Aerospace, Defense, and Government
      • Electronics
      • Energy
      • Industrial Machinery
      • Life Sciences
      • Semiconductor
      • Transportation
      • Product Life Cycles
      • Design and Prototype
      • Validation
      • Production
      • Focus Areas
      • 5G and 6G Technology
      • ADAS and Autonomous Driving Testing
      • Artificial Intelligence
      • Electric Vehicle Test
      • Lifecycle Analytics
      • Radar and Electronic Warfare
      • Space Launch and Exploration
      • Validation Lab Innovations
      • See our approach to solutions
    • Products
      • Back
      • Software
      • View All Software
      • Test Automation
      • LabVIEW
      • LabVIEW+ Suite
      • TestStand (Test Execution)
      • VeriStand (HIL Test Development)
      • Free Interactive Test Software
      • FlexLogger (for DAQ hardware)
      • InstrumentStudio (for PXI hardware)
      • Test Analytics and Operations
      • DIAdem (for Analysis and Visualization)
      • SystemLink (Test Operations)
      • OptimalPlus GO (Manufacturing Analytics)
      • SERVICES
      • View All Services
      • Repair Services
      • Calibration
      • Training Courses
      • HARDWARE
      • View All Hardware
      • Data Acquisition and Control
      • Learn About DAQ
      • New DAQ Hardware (mioDAQ)
      • Multifunction I/O
      • Voltage
      • Digital I/O
      • Temperature
      • Sound and Vibration
      • Current
      • Strain, Pressure, and Force
      • Communication Interfaces
      • Software Defined Radios
      • GPIB, Serial, and Ethernet
      • Industrial Communication Buses
      • Vehicle Communication Buses
      • Avionics Communication Buses
      • PXI Instrumentation
      • Switches
      • Oscilloscopes
      • Digital Multimeters
      • Waveform Generators
      • RF Signal Generators
      • SMUs and LCR Meters
      • Power Supplies and Loads
      • Vector Signal Transceivers
      • FlexRIO Instruments
      • Accessories
      • Power Accessories
      • Connectors
      • Cables
      • Sensors
      • RESOURCES
      • Ordering Resources
      • Distributors
      • System Advisors
      • See all products
    • Perspectives
    • Support
      • Back
      • Resources
      • View All Support Resources
      • Software Downloads
      • Register and Activate
      • Product Documentation
      • Release Notes
      • Training Courses
      • On-Demand Learning
      • KnowledgeBase
      • Code Examples
      • Popular Software Downloads
      • See all Software Product Downloads
      • icon of LabVIEW logo
      • icon of Multisim logo
      • icon of Academic Volume License logo
      • Popular Driver Downloads
      • See all Driver Software Downloads
      • NI-DAQmx
      • NI-VISA
      • NI-488.2
      • Request Support
      • You can request repair, RMA, schedule calibration, or get technical support. A valid service agreement may be required.Open a service request
    • Community
    • Partners
    • Contact Us
    • Account

Some courses and learning paths on NI Learning Center may not appear on learner dashboards. Our team is actively investigating.

If you encounter access issues, please contact services@ni.com and include the learner’s name, email, service ID or EA number, and the list of required courses.

Skip to main contentSkip to search
Product Documentation - NIProduct Documentation - NI
Product Documentation - NI
  • Home
  • All Manuals
  • Log in

LabVIEW Programming Reference Manual

Table of Contents
  • LabVIEW Programming Reference Manual
  • Functions
  • Property and Method Reference
  • LabVIEW Environment Reference
  • LabVIEW Dialog Box Reference
  • Error Codes and Messages
Table of Contents

Text Properties

Download PDF
Selected SectionSelected Section and Subsection(s)Entire Manual
  • Updated2026-02-04
  • 2 minute(s) read
    • LabVIEW
    • API Reference
    • LabVIEW G

  • Attached Object
    Gets or sets the reference to a block diagram object to which a text label is attached. This property only works with free labels on the block diagram.
  • Document Bounds
    Returns the size required to display the entire text.
  • Document Bounds:Height
    Returns the height required to display the entire text.
  • Document Bounds:Width
    Returns the width required to display the entire text.
  • Enable Hyperlinks
    Automatically detects URLs of the form proto://domain, displays them in underlined blue text, and opens them in the default web browser when clicked.
  • Font
    Cluster of font name, size, bold, italic, underline, strikeout.
  • Font:Bold
    Indicates whether the text is bold.
  • Font:Color
    Sets the color of the currently selected text. You can use the Selection property to select a subset of a string.
  • Font:Italic
    Indicates whether the text is italic.
  • Font:Name
    Font name. Predefined font names include App Font, Sys Font, and Dlg Font. If you provide an empty string, this property returns an error.
  • Font:Size
    Font size.
  • Font:Strikeout
    Indicates whether the text is in the strikeout font.
  • Font:Underline
    Indicates whether the text is underlined.
  • Justification
    Gets and sets the justification of text.
  • Lock
    Locks the label or caption to the owning control, indicator, or terminal. You cannot set this property on text fields that are not labels or captions, such as Boolean text, numeric text, free labels, and so on.
  • Scroll Position
    Position of the scroll box in the scroll bar.
  • Selection
    Text selection specified in terms of character positions for the beginning of selection (inclusive) and end of selection (not inclusive). If you set the start and end to be the same, LabVIEW inserts a caret into the text.
  • Selection:End
    Allows you to select the end point of text in a text string.
  • Selection:Start
    Character position for the beginning of selection (inclusive).
  • Size to Text?
    Sets whether the size of the text object changes according to the text included. You can write this property only for free labels, control labels, and captions.
  • Text
    Text as displayed in the front panel object. For example, if you set a string control to use Password Display, this property returns the password string, such as ****, not the Normal Display of the string.
  • Text Colors
    Changes the foreground and background color of a text string.
  • Text Colors:BG Color
    Background color of text object.
  • Text Colors:Text Color
    Text color for all fonts in the text.
  • Text Overflow
    Display a gradient overflow visual effect when text gets clipped by the controls.
  • Vertical Arrangement
    Gets and sets the vertical arrangement for the text. You can set the vertical arrangement for labels, captions, and free labels. For free labels, if a vertical scrollbar is visible, this property can only be set to None or Stacked. Setting other values will result in error 1786.

Previous

No previous section

Next

No next section

Previous

No previous section

Next

No next section
  • ©2008 - 2026 ACME Corporation. All Rights Reserved
  • Privacy PolicyTerms of Use
  • Powered By
    Zoomin_Logo
Solutions
  • Academic & Research
  • Aerospace, Defense, & Government
  • Electronics
  • Energy
  • Industrial Machinery
  • Life Sciences
  • Semiconductor
  • Transportation
Orders
  • NI Distribution Partners
  • Order Status and History
  • Retrieve a Quote
  • Terms of Service
  • Order by Part Number or Request a Quote
Company
  • NI is now part of Emerson
  • About
  • Emerson Careers
  • Newsroom
  • Supply Chain & Quality
  • Events
Support
  • Downloads
  • Product Documentation
  • Discussion Forums
  • Activate a Product
  • Submit a Service Request
  • Site Feedback
FacebookTwitterLinkedInYouTubeInstagram
LEGAL | IMPRINT | PRIVACY | Cookie Settings
© NATIONAL INSTRUMENTS CORP. ALL RIGHTS RESERVED.