docx
    Preparing search index...

    Class TextRun

    Represents a text run in a WordprocessingML document.

    TextRun is a convenience class that extends Run, allowing you to pass either a string or full run options. This is the most common way to add text content to a paragraph.

    Reference: http://officeopenxml.com/WPtext.php

    // Simple text
    new TextRun("Hello World");

    // Formatted text
    new TextRun({ text: "Bold Text", bold: true });

    Hierarchy (View Summary)

    Index

    Constructors

    Methods