Share via


Line.PatternScale Property (Microsoft.DirectX.Direct3D)

Retrieves or sets the stipple-pattern scale value.

Definition

Visual Basic Public Property PatternScale As Single
C# public float PatternScale { get; set; }
C++ public:
property float PatternScale {
        float get();
        void set(float value);
}
JScript public function get PatternScale() : float
public function set PatternScale(float);

Property Value

System.Single
Value that scales the stipple pattern; 1.0f is the default and represents no scaling. A value less than 1.0f shrinks the pattern, and a value greater than 1.0 stretches it.

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.