Sample code that demonstrates how to open a BGD Raster

Imports DotSpatial.Data

Private Sub button1_Click(sender As Object, e As EventArgs)
	Dim r As New Raster()
	r.Open("C:\Temp\iron.bgd")
	r.Projection.Open("C:\Temp\iron.prj")
	r.GetStatistics()
	Dim value As Double = r.Maximum
End Sub

Last edited Sep 2, 2010 at 2:59 PM by Shade1974, version 4