IGxGraphics.CompositingQuality

Syntax

CompositingQuality: GxCompositingQuality;

Description

The CompositingQuality property determines the quality of image rendering.

Example

Executing the example requires a form with the button having the Button1 identifier, the ImageBox component with the ImageBox1 identifier. The file system should contain the image C:\Map.bmp. Add links to the Drawing, Forms system assemblies.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);

Var

m_Image: IGxImage;

m_Graphics: IGxGraphics;

Begin

m_Image := GxBitmap.FromFile("C:\Map.bmp");

m_Graphics := GxGraphicsClass.FromImage(m_Image);

m_Graphics.InterpolationMode := GxInterpolationMode.Bilinear;

m_Graphics.CompositingQuality := GxCompositingQuality.HighQuality;

ImageBox1.Image := m_Image;

End Sub Button1OnClick;

After executing the example clicking the button loads the file C:\Map.bmp with defined rendering quality and interpolation mode to the ImageBox component.

See also:

IGxGraphics