Share via


Line.Antialias Property (Microsoft.DirectX.Direct3D)

Retrieves or sets the antialiasing switch value for a line.

Definition

Visual Basic Public Property Antialias As Boolean
C# public bool Antialias { get; set; }
C++ public:
property bool Antialias {
        bool get();
        void set(bool value);
}
JScript public function get Antialias() : boolean
public function set Antialias(boolean);

Property Value

System.Boolean
Value that indicates antialiasing state. If true, antialiasing is on; if false, it is off.

This property is read/write. 

Remarks

Exceptions

InvalidCallException

The method call is invalid. For example, a method's parameter might contain an invalid value.

InvalidDataException

The data is invalid.