[C#] | public void setAntiAlias([ bool shapeAntiAlias [, int textAntiAlias ]]); |
[VB] | Public Sub setAntiAlias([ shapeAntiAlias As Boolean [, textAntiAlias As Integer ]]) |
ChartDirector 7.1 (.NET Edition)
BaseChart.
Usage
[C#] | public void setAntiAlias([ bool shapeAntiAlias [, int textAntiAlias ]]); |
[VB] | Public Sub setAntiAlias([ shapeAntiAlias As Boolean [, textAntiAlias As Integer ]]) |
Description
Constant | Value | Description |
---|---|---|
NoAntiAlias | 0 | Disable anti-alias when drawing text |
AntiAlias | 1 | Use classical anti-alias when drawing text |
AutoAntiAlias | 2 | Automatically determine if anti-alias should be used for the text. This is the default. Since version 5.1, ChartDirector would automatically choose ClearType technology as the default anti-alias method. Earlier versions of ChartDirector did not support ClearType, and ChartDirector would choose classical anti-alias for large or bold fonts, and no anti-alias for small non-bold fonts. To force ChartDirector to revert to pre-5.1 behaviour, you may add the following line into your license file: @TextAA=CompatAntiAlias |
ClearTypeColor | [Method] | Use ClearType technology when drawing text. |
ClearTypeMono | [Method] | Use monochrome ClearType technology when drawing text. |
Arguments
Argument | Default | Description |
---|---|---|
shapeAntiAlias | true | A true value enables anti-alias when drawing lines and shapes. A false value disables anti-alias when drawing lines and shapes |
textAntiAlias | AutoAntiAlias | The text anti-alias mode, which must be one of NoAntiAlias, AntiAlias, AutoAntiAlias, ClearTypeColor or ClearTypeMono. |
Return Value