Share via


Line.GlLines Property (Microsoft.DirectX.Direct3D)

Retrieves or sets a value that switches between Microsoft Direct3D and OpenGL line-drawing modes.

Definition

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

Property Value

System.Boolean
Value that is true if lines based on OpenGL are enabled; false if lines based on Direct3D are enabled.

This property is read/write. 

Remarks

As a software interface for graphics hardware, OpenGL renders multidimensional objects into a frame buffer.

Exceptions

InvalidCallException

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

InvalidDataException

The data is invalid.