Gets or sets the corresponding file name and path from which an inserted image is loaded.

Syntax

public string FileName { get; set; }
Public Property FileName() As String

Examples

This example shows how to set the 'FileName' property.

TXTextControl.Image myImage = new TXTextControl.Image();

myImage.Sizeable = false;
myImage.HorizontalScaling = 75;
myImage.VerticalScaling = 75;
myImage.ExportCompressionQuality = 100;
myImage.ExportFileName = "MyFileName.PNG";
myImage.ExportFilterIndex = 3;
myImage.ExportMaxResolution = 0;
myImage.FileName = "MySampleImage.png"; // Here, the 'FileName' property is set

textControl1.Images.Add(myImage, -1);
Dim myImage As TXTextControl.Image = New TXTextControl.Image()

myImage.Sizeable = False
myImage.HorizontalScaling = 75
myImage.VerticalScaling = 75
myImage.ExportCompressionQuality = 100
myImage.ExportFileName = "MyFileName.PNG"
myImage.ExportFilterIndex = 3
myImage.ExportMaxResolution = 0
myImage.FileName = "MySampleImage.png" ' Here, the 'FileName' property is set

textControl1.Images.Add(myImage, -1)