'Usage
Dim instance As LineProperties
Dim value As Integer
instance.Factor = value
value = instance.Factor
Remarks
The Pattern and Factor properties define the line by working together to define
whether a certain pixel from the line should be drawn or not. If factor is 3,
for example, each bit in the pattern will be used three times before the next
bit in the pattern is used. The factor parameter is clamped to the range [1, 256]
and defaults to one. The values of the LinePattern enumeration actually represent
16-bit integers whose bit pattern determines which fragments of a line will be
drawn when the line is rasterized.
Example
The following example shows how to define a custom pattern and modify the factor.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2