• Help Home
  • English (US)
    1. English (US)
    2. 简体中文
    3. 繁體中文
    4. Čeština
    5. Deutsch
    6. English (UK)
    7. Español
    8. Français
    9. Magyar
    10. Italiano
    11. 日本語
    12. 한국어
    13. Polski
    14. Português (Brasil)
    15. Русский
AutoCAD 2025 Developer and ObjectARX
    • Customization and Administration Guides
      • Customization Guide Reference
      • General Customization
        • Basic Customization
        • Custom Linetypes
          • About Custom Linetypes and Linetype Definitions
          • About Simple Custom Linetypes
          • About Text in Custom Linetypes
            • To Include Text in Custom Linetypes
          • About Shapes in Custom Linetypes
        • Custom Hatch Patterns
        • DIESEL Expressions
        • Shapes and Font Shapes
        • Command Scripts
        • Supported Programming Interfaces
      • Platform Customization (Windows Only)
      • Migration (Windows Only)
      • Driver and Peripheral Guide (Windows only)
      • CAD Administrator's Guide (Windows Only)
    • DXF Reference
    • AutoLISP and DCL
    • ActiveX and VBA
    • ObjectARX and Managed .NET
    • JavaScript
    • AutoCAD Core Console
    Share
    • Email
    • Facebook
    • Twitter
    • LinkedIn
     
     

    To Include Text in Custom Linetypes

    1. Create a simple linetype, as described in To Add a Simple Linetype to a LIN File.
    2. Add the text character descriptor within the linetype pattern, using the following format:
      ["text",text_style_name,scale,rotation,xoffset,yoffset]

      For example,

      A,.5,-.2,["HW",STANDARD,S=.1,U=0.0,X=-0.1,Y=-.05],-.2
    Parent topic: About Text in Custom Linetypes

    Related Concepts

    • About Text in Custom Linetypes
    • About Shapes in Custom Linetypes
    • About Customization

    Related Tasks

    • To Create a Simple Linetype From the Command Prompt
    • To Add a Simple Linetype to an LIN File

    Was this information helpful?

    Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. Please see the Autodesk Creative Commons FAQ for more information.

    • Privacy Statement
    • Legal Notices & Trademarks
    • Report Noncompliance
    • © 2025 Autodesk Inc. All rights reserved