Products Technologies Demo Docs Blog Support Company

Changing the Image Format Order in the 'insert Image Dialog'

I just got an interesting support question: "How can I change the order of the image formats in the dialog box that is opended by calling the ImageCollection.Add method?" The dialog reads all available image formats from the tx11_ic.ini file, located in the BIN folder of TX Text Control .NET for Windows Forms's install directory. Additionally, the order can be set as well. So, if you would like to have the image format PNG as default, it should be on top of the list, which should then look…

Changing the Image Format Order in the 'insert Image Dialog'

I just got an interesting support question: "How can I change the order of the image formats in the dialog box that is opended by calling the ImageCollection.Add method?"

The dialog reads all available image formats from the tx11_ic.ini file, located in the BIN folder of TX Text Control .NET for Windows Forms's install directory.

Additionally, the order can be set as well. So, if you would like to have the image format PNG as default, it should be on top of the list, which should then look like this:

[Graphic Import Filters]
Portable Network Graphics(.PNG)=tx11_png.flt,png
Graphics Interchange Format(.GIF)=tx11.png.flt,gif
Tagged Image Format(.TIF)=tx11_tif.flt,tif
Windows Metafile(.WMF)=tx11_wmf.flt,wmf
JPEG File Interchange Format(.JPG, .JPEG)=tx11.png.flt,jpg
Windows Bitmap(.BMP)=tx11_bmp.flt,bmp

Stay in the loop!

Subscribe to the newsletter to receive the latest updates.

Related Posts

Image.NETSample

Inserting Images from Memory

Recently, a new sample has been released in the source code library. TX Text Control offers various functions to insert images from physical files in many supported formats. Sometimes, however, it…


Image.NETSample

Embedding Images in Various Formats

We are frequently asked why the filesize of documents containing images (BMP and WMF) grows when they are exported to Microsoft Word or RTF formats. The answer is quite simple: Images might be…


Windows FormsWPF.NET

Create a Table of Contents in Windows Forms using C#

This article explains how to create a table of contents in Windows Forms using the ribbon or programmatically. Creating a table of contents is required to organize large documents.


ASP.NETWindows FormsWPF

Official TX Text Control .NET Sample Applications Are Now Hosted on GitHub

This article gives a quick overview of the new repositories, their structure and our plans for the future.


ASP.NETJavaScriptDocument Editor

Detect Toggle Button Changes Using a MutationObserver

This article shows how to detect changes of toggle buttons in the ribbon of the web editor using a MutationObserver. The state of a toggle button in the ribbon visualizes the state of a certain…