Quantcast
Channel: MapWinGIS ActiveX Map and GIS Component
Viewing all articles
Browse latest Browse all 2341

Closed Issue: ShapeFile.DefaultDrawingOptions.FillHatchStyle few enum members have the same ID? [21146]

$
0
0
Hello,
 
If I use byte value instead of real enum value, then not all enum members are accessible. (see below) probably that is why in original MapWindow application is not possible to select some hatch styles (3 weeks old version).
 
Please advise, is that suppose to be like that?
 
Regards,
Igor.
 
 
namespace MapWinGIS
{
[Guid("BE7EA6B6-8667-4E87-BA91-8131314762B1")]
public enum tkGDIPlusHatchStyle
{
hsNone = -1,
hsMin = 0,
hsHorizontal = 0,
hsVertical = 1,
hsForwardDiagonal = 2,
hsBackwardDiagonal = 3,
hsCross = 4,
hsMax = 4,
hsLargeGrid = 4,
hsDiagonalCross = 5,
hsPercent05 = 6,
hsPercent10 = 7,
hsPercent20 = 8,
hsPercent25 = 9,
Comments: Duplicated values removed when it was discussed.

Viewing all articles
Browse latest Browse all 2341

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>