Table of Contents

TUIImage Class

A platform independent image.

Syntax

Unit: FlexCel.Core

TUIImage = class(TFlexCelObject);

Methods

Name Description
FromStream Creates an image from a stream.
CreateBitmap Creates a bitmap of the specified dimensions.
FromFile Creates an image from a file in the disk.
ConvertToBWDither Converts the image to pure black and white, using dithering.
ConvertToBiLevel Converts the image to pure black and white, without diffusion.
ConvertToGrayscale Converts the image to shades of gray.
ConvertTo256Colors Converts the image to 256 indexed colors.
ToNativeImage Overloaded
ToNativeImage(Pointer, Double)
ToNativeImage(Double, Double, Pointer, Double)
Save Overloaded
Save(TStream, TXlsImgType)
Save(string, TXlsImgType)
RasterMetafile Converts a vectorial metafile to a bitmap.
SaveStart Starts saving a multi page image.
SupportsMultiPage Returns true if the current platform supports multipage images.

Properties

Name Description
Width Width of the image in device-dependent pixels.
Height Height of the image in device-dependent pixels.
WidthInPoints Width of the image in Points (1/72 of an inch)
HeightInPoints Height of the image in Points (1/72 of an inch)
RawFormat Format of the image.
IsMetafile Returns true if the file is a WMF or EMF file.
Is8bitGrayscale Returns true if the image has 256 shades of gray.