LoadImages Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
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; }Public Property LoadImages As BooleanExamples
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);Dim loadSettings As New LoadSettings()
loadSettings.LoadImages = True
If loadSettings.LoadImages Then
Console.WriteLine("Load Settings: Load Images is enabled.")
End If
textControl.Load("template.docx", StreamType.WordprocessingML, loadSettings)