Graphics Support in Visual FoxPro

Visual FoxPro 8.0 and later replaces native support for rendering Graphics Interchange Format (.gif) and Joint Photographic Electronic Group (.jpeg) formats with Graphics Device Interface+ (GDI+) for Microsoft Windows XP and later. Visual FoxPro supports all formats that GDI+ handles, including animated .gif files.

The following table lists the graphics formats that Visual FoxPro supports.

File extension File type name

.ani

Animated Cursor

.bmp

Bitmap

.cur

Cursor

.dib

Device Independent Bitmap

.emf

Windows Enhanced Metafile

.exif

Exchangeable Image File

.gif, .gfa

Graphics Interchange Format

.ico

Icon

.jpg, .jpeg, .jpe, .jfif

Joint Photographic Electronic Group, JPEG File Interchange Format

.png

Portable Networks Graphics

.tif, .tiff

Tag Image File Format

.wmf

Windows Metafile

NoteNote

In Visual FoxPro, cursor, animated cursor, and icon files can be used as graphics files. For example, you can specify an animated cursor file for the Picture property for the Image control. However, the Image control displays the static representation of the cursor.

If Visual FoxPro does not recognize a particular version of a natively supported format such as a .bmp, .dib, .cur, .ani, or .ico, it passes them to GDI+ for rendering. Therefore, as new static file formats become supported in future versions of GDI+, Visual FoxPro can support them automatically.

With GDI+, Visual FoxPro includes the RotateFlip property on the Image control so you can rotate and invert, or flip, an image. For more information, see RotateFlip Property.

NoteNote

GDI+ is installed with the Windows XP operating system and is required to run Visual FoxPro. Visual FoxPro includes a merge module for redistribution with custom applications running on Windows 98, Windows Me, and Windows 2000 platforms.

Visual FoxPro provides graphics support in the following three areas:

  • Language

  • Controls and objects

  • User interface

Expand imageLanguage

Expand imageControls and Objects

Expand imageUser Interface

Expand imageGDI+ Image Support

Expand imageAnimated .gif Image Support

Expand imageSee Also


© , 1996-2020 • Updated: 11/10/20
Comment or report problem with topic