Share via


Line.Pattern Property (Microsoft.DirectX.Direct3D)

Retrieves or sets the line stipple pattern.

Definition

Visual Basic Public Property Pattern As Integer
C# public int Pattern { get; set; }
C++ public:
property int Pattern {
        int get();
        void set(int value);
}
JScript public function get Pattern() : int
public function set Pattern(int);

Property Value

System.Int32
An Int32Leave Site value that indicates the line stipple pattern: either 1 (opaque) or 0 (transparent).

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.