ImageLayer.Transparency Property
Specifies the layer’s transparency.
Namespace: DevExpress.XtraMap
Assembly: DevExpress.XtraMap.v24.2.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
Byte | 0 | A Byte value. |
Remarks
You can set the Transparency property to an integer number in the range from 0 (opaque) to 255 (transparent).
private void Form1_Load(object sender, EventArgs e) {
ImageLayer layer = new ImageLayer();
BingMapDataProvider provider = new BingMapDataProvider { BingKey = "Your key here." };
layer.DataProvider = provider;
layer.Transparency = 120;
mapControl1.Layers.Add(layer);
}
See Also