TX Text Control .NET for WPF

LoadImages Property

Property
Namespace
TXTextControl
Package
TXTextControl.TextControl.WPF.SDK as TXTextControl.dll from the private NuGet feed or Text Control Offline Packages

Description

Specifies whether or not images are loaded. If set to false images are displayed through a rectangle and the image's name. By default images are loaded.

Syntax

public bool LoadImages { get; set; }

Examples

The following example configures how a WordprocessingML template is loaded by using LoadSettings.LoadImages.

LoadSettings loadSettings = new();

loadSettings.LoadImages = true;
if (loadSettings.LoadImages)
{
    Console.WriteLine("Load Settings: Load Images is enabled.");
}

textControl.Load("template.docx", StreamType.WordprocessingML, loadSettings);