Is it possile to use a PNG fie with transparent pixels as a custom point style image?
Custom PointTypes with transparent PNG
Adam,
Welcome you to ThinkGeo MapSuite DekstopEdition forum!
It is possible to use transparent as custom point style image.
InMemoryFeatureLayer bitmapLayer = new InMemoryFeatureLayer();
bitmapLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle.PointType = PointType.Bitmap;
bitmapLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle.Image = new GeoImage(@"..\..\SampleData\Data\test.png");
bitmapLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20;
bitmapLayer.InternalFeatures.Add("Crossing", new Feature(new PointShape(-95.2806, 38.9554)));
Following is some test codes with a transparent image attached.
Any more questions just let me know.
Thanks.
Yale
758-test.zip (998 Bytes)