Top
PowerCOBOL V11.0 Reference
FUJITSU Software

3.18 Image Control

Description:

The Image control displays picture images from a variety of file types such as bitmaps, Photo CD images, and Jpeg images.

The type of image file is determined by the extension.

Bitmap and Icon files can be built into the application as resources.

Sample image:

Details:

Supported image

File description

Extension(s)

formats:

Bitmap files (Can be built into the application as resources)

BMP, DIB, RLE

Icon files (Can be built into the application as resources)

ICO, CUR

Metafiles (Supports standard metafiles and Aldus placeable metafiles)

WMF, EMF, CLP

JPEG files (Can be copied to the clipboard as .CLP files)

JPG, JIF

Photo CD image files (Must be in the \Photo_cd\ folder, or in the \Photo_cd\Images folder on a Photo CD. Files must be named "Imgnnnn.pcd", where nnnn is any number, or "Overview.pcd".)

PCD

Notes:

Large images require large quantities of memory to be displayed. If there is insufficient memory it may not be possible to display the image.

On a 256 color Windows system, displaying multiple images that have 256 colors or more on the same form may result in incorrect color displays.

Windows format meta files cannot have long file names.

Properties:

Appearance

Array

BackColor

BackStyle

BorderStyle

ClassMajorVersion

ClassMinorVersion

ClassProgID

Container

Diffuse

DropEnabled

Enabled

Height

ImageCount

ImageHeight

ImageIndex

ImageLeft

ImageMode

ImageName

ImageTop

ImageWidth

Index

Left

Name

Parent

PcdColorType

PcdResolution

Printable

Resource

ScaleMode

ScalingStyle

ToolTipText

Top

Visible

Width

Methods:

Move

Refresh

ZOrder

Events:

Change

Click

DblClick

MouseDown

MouseMove

MouseUp

Class ProgID name:

Fujitsu.PcobImage.4

Corresponding Control in PowerCOBOL V3.0 or earlier:

Image Item

ExtendedImage Item

Metafile Item