Using Images

Visual Basic User's Guide

TX Text Control provides three different methods for inserting images:

Images can be inserted from a file or from the clipboard. When saving a document, you can select whether to embed image data in the document file, or save a reference to a seperate image file. Note that not all options are available in all file formats. For instance, while image data can be embedded in .RTF, .DOCX and .DOC files, HTML does not provide this option.

Further options are:

This is especially useful, if you create HTML files, where embedded images and image file formats like WMF or TIFF need to be converted to JPEG or GIF files for display in a browser. Image resolution and compression settings are also required for creating PDF files, for instance to create one version of a PDF with low-resolution images for viewing on screen, and another one with high resolution images for printing.

An overview of all properties, methods and events which can be used in conjunction with images can be found at Images, Text Frames and  OLE Objects. Properties which have a name that begins with "Object" can be used with images as well as other kinds of embedded objects, like text frames and OLE objects, whereas those starting with "Image" only apply to images.

Inserting an Image

Setting Image Attributes