Table of Contents

TUIImage Class

A platform independent image.

Syntax

Namespace: FlexCel.Core

public abstract class TUIImage: IDisposable

Methods

Name Description
FromFile Creates an image from a file.
FromStream Creates an image from a stream.
CreateBitmap Creates a bitmap of the specified dimensions.
Dispose Overloaded
Dispose
Dispose(Boolean)
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.
Save Overloaded
Save(Stream, 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.

Operators

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.