CADDrawMode.Black draws in "white"
Posted: 14 Oct 2008, 05:24
*** Applies to: cadimport.net ext v6.3 VB editor cadimport.dll ver. 6.3.2942.31653 ***
The following should draw the entities in black but instead draws it in white:
Me.cadImage1.DrawMode = CADImport.CADDrawMode.Black
Solution:
Cycle through the CAD layers and change each colour as follows:
The following should draw the entities in black but instead draws it in white:
Me.cadImage1.DrawMode = CADImport.CADDrawMode.Black
Solution:
Cycle through the CAD layers and change each colour as follows:
Code: Select all
' colourize the layers of the drawing
Dim cntLrs As Int16 = arrLayerNames.Count
Dim i As Int16
For i = 0 To cntLrs - 1
Me.cadImage1.SetLayerColor(i, Color.Black, False)
Next