我在 Excel VBA 中使用 Google Earth API。屏幕截图是黑白的,而不是彩色的。请建议我在哪里做错了?
Dim ge As earthlib.ApplicationGE
Set ge = New ApplicationGE
Dim kmlString As Variant
kmlString = "C:\temp\test.kmz"
ge.OpenKmlFile (kmlString, 1)
Dim tPlace As earthlib.FeatureGE
Set tPlace = ge.GetTemporaryPlaces
Dim fldrPath As String, jpgName as String
fldrPath = "C:\temp\"
jpgName = fldrPath & "outJpg1.JPG"
ge.SaveScreenShot (jpgName, 100)