Documents for Word .NET Edition
In This Topic
    Samples
    In This Topic

    All the GcWord samples are available through the online sample browser. You can browse the source code of samples, run them on the server, download the generated DOCX and view the generated PDF online, or download individual samples to build and run on your own system (Windows, Mac or Linux). For more information, see Quick Start, introductory page for the samples.

    If you choose to download the samples, you can run them using following simple steps:

    1. Click the Download action on the top right of the sample page.
    2. Unzip the downloaded .zip file of sample.
    3. Run the sample.

    List of samples

    The complete list of available GcWord sample projects is mentioned below:

    Basic Feature Samples

    Features Sample Description
    Quick Start Tutorial - Create Word documents (.docx) on Windows, macOS or Linux in .NET Core.
    Hello, World! Create Word documents (.docx) on Windows, macOS or Linux in .NET Core.
    Content Character Formatting Add formatting to text in Word document (.docx) in .NET Core.
    Character Styles Split text and add character styles in Word document (.docx) in .NET Core.
    Sections Add sections and modify their page setup in Word document (.docx) in .NET Core.
    Columns Creating multi-column section layout in Word document (.docx) in .NET Core.
    Bullet List Create and format bullet lists in Word document (.docx) in .NET Core.
    Numbered List Create and format numbered lists in Word document (.docx) in .NET Core.
    Vertical Text Add Far-eastern language text in top-to-bottom/right-to-left page layout in Word document (.docx) in .NET Core.
    Multiple Languages Rendering text in multiple languages in Word document (.docx) in .NET Core.
    Tate Chu Yoko Add vertical text tate chu yoko in Word document (.docx) in .NET Core.
    Create Many Documents Create multiple Word documents (.docx) with fast performance in .NET Core.
    Sub and Super Script Adding subscript or superscript text to Word document (.docx) in .NET Core .
    Headers and Footers Create section headers and footers in Word document (.docx) in .NET Core.
    Footnotes Create and format footnotes in a Word document (.docx) in .NET Core.
    Hyperlinks Insert hyperlinks into a Word document (.docx) in .NET Core.
    Add Picture Add images to a Word document (.docx) in .NET Core.
    Picture Wrapping Insert pictures using different picture wrapping styles in Word document (.docx) in .NET Core.
    Comments Add comments/replies to text selections or whole paragraphs in Word document (.docx) in .NET Core.
    Comments (not in PDF) Omit Word document (.docx) comments in PDF in .NET Core.
    Styles List of Built-in Styles Create Word documents (.docx) with built-in styles in .NET Core.
    Some Common Styles Create Word documents (.docx) with common built-in styles in .NET Core.
    Built-in Character Styles Create Word documents (.docx) with built-in character styles in .NET Core.
    Built-in Paragraph Styles Create Word documents (.docx) with built-in paragraph styles in .NET Core.
    Built-in Table Styles Create Word documents (.docx) with built-in table styles in .NET Core.
    Built-in List Templates Create Word documents (.docx) with built-in list templates in .NET Core.
    Modification Load DOCX files Load Word document (.docx) and add notes to the content in .NET Core.
    Modify Formatting Modify formatting in an existing Word document (.docx) in .NET Core.
    Theme Colors Modify theme colors of a Word document (.docx) in .NET Core.
    Replace Text Find and replace text in a Word document (.docx) in .NET Core.
    Replace and Format Text Find and replace a string and formatting in a Word document (.docx) in .NET Core.
    Replace and Format Text (2) Find and replace string in a Word document (.docx) using PersistentRange object in .NET Core.
    Replace Image Replace an image in a Word document (.docx) in .NET Core.
    Copy Paragraphs Copy and join paragraphs in a Word document (.docx) in .NET Core.
    Copy/Move Range Copy and move text ranges in a Word document (.docx) in .NET Core.
    Merge Documents Merge two files into a single Word document (.docx) in .NET Core.
    Split Document Split a DOCX into several Word document (.docx) in .NET Core.
    Clear Formatting Clear all formatting in a Word document (.docx) in .NET Core.
    Tables Simple Table Create tables in a Word document (.docx) in .NET Core.
    Grid Span Create table with grid span in Word document (.docx) in .NET Core.
    Alternating Rows Add table with alternate row formatting in Word document (.docx) in .NET Core.
    Conditional Styles Apply conditional formatting to table elements in Word document (.docx) in .NET Core.
    Nested table Create table with nested table inside a cell in Word document (.docx) in .NET Core.
    Templates MailMerge Bookmarks Create Mail merge Word documents (.docx) using bookmarks in .NET Core.
    Fields Hyperlinks Insert hyperlink fields into a Word document (.docx) in .NET Core.
    Date/Time Fields Display date and time fields in Word document (.docx) in .NET Core.
    Complex Fields Modify text as per current date in Word document (.docx) in .NET Core .
    Shapes Geometry Types Create a document that shows shapes with all supported geometry types.
    Shape Presets Create a document that demonstrates all shape presets.
    Fill Formats Create a document that demonstrates some of the shape fills.
    Group Shape Create a document that demonstrates group shapes.
    Themed Styles Create a document that shows shapes with all supported themed shape styles.
    Load Ink XML Add an ink shape with ink content loaded from an XML.
    Large Documents Long Document Load a long Word document (.docx) in code in .NET Core.
    Miscellaneous Content Controls Add content controls to Word document (.docx) in .NET Core.
    Custom XML Parts Add custom XML parts to a Word document (.docx) in .NET Core.
    Glossary Documents Add header and footer building blocks to a Word document's (.docx) glossary in .NET Core.
    Get Style Source Find the object that is the source of the current value of a formatting property.
    Sample Paragraphs View the SampleParagraphs.docx (created in MS Word) used by other samples.

    Fancy Docs Samples

    Sample Description
    Simple Document Create a professional Word document (.docx) in .NET Core with basic elements.
    Procurement Letter Creating a procurement business letter Word document (.docx) fully in code in .NET Core.