Copyright © 1998-2010 MultiMedia Soft

UseAntialiasing property

Previous pageReturn to chapter overviewNext page

Type

BOOL for Visual C++

boolean for Visual Basic

 

 

Syntax

object.UseAntialiasing [=boolean]

 

 

Remarks

Enables/disables the use of anti-aliasing algorithms for rendering the button surface (doesn't affect text rendering).

This property can be changed at Design time using the "Others" tab.

Supported values are the following:

Value

Meaning

FALSE

No anti-aliasing is applied.

TRUE (default)

Anti-aliasing is applied.

 

Disabling anti-aliasing can slightly improve the button rendering speed but will degrade rendering quality; below you can see a sample of two identical buttons, with the left one having anti-aliasing enabled and the right one having anti-aliasing disabled.

3dabm_i00009a

If you take a close look to the picture above you will see that the button on the right has "jagged" borders.