ImageSourceSettings Class
- Namespace
TXTextControl.Windows. Forms
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. WinForms. SDK
- Assembly
TXTextControl.Windows. Forms. dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. WinForms. SDK TXTextControl.from the setup.Windows. Forms. dll
Description
The ImageSourceSettings class provides properties for advanced settings to receive an image by using the ResourceProvider.GetSmallIcon and ResourceProvider.GetLargeIcon methods.
Syntax
public class ResourceProvider.ImageSourceSettingsPublic Class ResourceProvider.ImageSourceSettingsExamples
The following example creates an Image Source Settings instance for a document-processing operation. The created object is then available to the surrounding document workflow.
TXTextControl.Windows.Forms.ResourceProvider.ImageSourceSettings imageSourceSettings = new();
Console.WriteLine("Image Source Settings is ready for use.");Dim imageSourceSettings As New TXTextControl.Windows.Forms.ResourceProvider.ImageSourceSettings()
Console.WriteLine("Image Source Settings is ready for use.")Members
Constructors
| Constructor | Description |
|---|---|
| ImageSourceSettings | Initializes a new instance of the ResourceProvider.ImageSourceSettings class. |
Properties
| Property | Description |
|---|---|
| Culture | Specifies the culture to receive a language related image. If no specific image is defined for the culture, the related image for English (represented by the ISO 639 two-letter lowercase culture code "en") is returned by the corresponding method. The default value is CultureInfo.CurrentUICulture. |
| FillColor | Specifies the fill color of editable scopes inside the related image. If the property value is null, the default fill color of the image scope is used. The default value is null. |
| StrokeColor | Specifies the stroke color of editable scopes inside the related image. If the property value is null, the default stroke color of the image scope is used. The default value is null. |