Knowledge Base

KB10665 - 'Type mismatch' error when setting a Line.Symbol to ‘Nothing’ using XDK with VB.NET.

This situation requires the use of direct casting.

Possibility #1:
DirectCast(ll.Params, TatukGIS_DK.IXGIS_ParamsSectionVector).Line.Symbol = Nothing

Possibility #2:
Dim params as TatukGIS_DK.IXGIS_ParamsSectionVector

Params = ll.Params
params.Line.Symbol = Nothing
Created: January 09, 2006, Modified: September 15, 2015
follow us on Facebook  follow us on Twitter  follow us on Google +  follow us on LinkedIn  Embarcadero