TX Text Control .NET for WPF

ExportFilters Property

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

Description

Gets all available filters for exporting images. This property can be used to set the FileDialog.Filter property.

Syntax

public string ExportFilters { get; }

Examples

The following example checks the registered image-export filter description before offering PNG extraction.

string exportFilters = textControl.Images.ExportFilters;
bool canExportPng = exportFilters.Contains("PNG", StringComparison.OrdinalIgnoreCase);
Console.WriteLine($"PNG export available: {canExportPng}");

Limitations

Read only.