ArcObjects學(xué)習(xí)筆記_第1頁
ArcObjects學(xué)習(xí)筆記_第2頁
ArcObjects學(xué)習(xí)筆記_第3頁
ArcObjects學(xué)習(xí)筆記_第4頁
ArcObjects學(xué)習(xí)筆記_第5頁
已閱讀5頁,還剩11頁未讀 繼續(xù)免費閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認(rèn)領(lǐng)

文檔簡介

1、.;2012/11/23 Fri1esriControls.ControlsSelectFeaturesTool、esriControls.ControlsAddDataCommand esriControls.ControlsMapNavigationToolbar、esriControls.ControlsOpenDocCommand2內(nèi)建的命令 Learning ArcObjects/General AO references/Names and IDs/各種內(nèi)建命令的列表 HYPERLINK http:/:47873/help/1-6012/ms.help?method=page&id

2、=ARCOBJECTS_NET-36DA4D45-0002D3&product=VS&productversion=100&locale=en-US&topiclocale=EN-US&topicversion=0&SQM=2 http:/:47873/help/1-6012/ms.help?method=page&id=ARCOBJECTS_NET-36DA4D45-0002D3&product=VS&productversion=100&locale=en-US&topiclocale=EN-US&topicversion=0&SQM=23加載內(nèi)建命令時,字符串內(nèi)部不能有空格,不然直接報t

3、he supplied command is invalid4更新要素: IFeature.Value() = IFeature.Store();5IRowSubtypes rowSubtypes featurerowSubtypes.SubtypeCode = IEditLayers.CurrentSubtype;rowSubtypes.InitDefaultValues();feature.Store();6更新一組要素,用CURSORA cursor is a data access object that can be used to iterate overa set of rows

4、 in a table or to insert new rows into a table.7如果是用于更新要素的話,可用SEARCH CURSOR 或者 UPDATECURSOR。在Desktop中,用SEARCHCURSOR(NextFeature獲得要素,再用IFeature.set_Value設(shè)置值,再IFeature.Store()好,因為它會使用MAPCACHE,效率更高。如果在A中處理復(fù)雜要素,則UPDATECURSOR一次直接從讀一行可能更適合。SearchCursor用Store()來提交,UpdateCursor用UpdateFeature()9IFeatureCurso

5、r updateCursor = featureClass.Update(queryFilter, false);feature = updateCursor.NextFeature() feature.set_Value(typeFieldIndex, Toll Highway);updateCursor.UpdateFeature(feature);10IEditor.EditSelection : IEnumFeature 。如果選中的要素來自不同的圖層的話,需要另外進行處理11IEnumFeature.Next() .Reset() %EditSelection %MapSelecti

6、on12edit session 有時影響性能。13在edit session外面 ,用ITransactions顯式地開始一個事務(wù)。不支持嵌套事務(wù),不能在事務(wù)中對復(fù)雜要素進行更新。14ITransaction.AbortTransaction() CommitTransaction() InTransaction:bool StartTransaction() %Sde3Workspace Sde4Workspace VersionedWorkspace Workspace 15已經(jīng)有事務(wù)在進行的話,重新發(fā)起會話等于沒干活。16ITransactions不能用于Schema Edits,不用

7、于DDL17如果直接對GDB中的數(shù)據(jù)使用SQL語句的話,原來由GDB維護的表之間的關(guān)系之類的,不會被維護。但是如果要的表中的數(shù)據(jù)不涉及geodatabase behavioral constraints or data validation rules用SQL語句效率比較高。18除非用于ArcSDE Multiversioned view,不要對Versioned 數(shù)據(jù)使用SQL語句。19用完SQL語句之后,加個COMMIT或者 ROLLBACK,因為DBMS可能會等待未提交的會話提交,比如COMPRESS操作就是如此。20用SQL語句的話,不要修改那些會經(jīng)由GDB的相關(guān)規(guī)則而影響其它數(shù)據(jù)的數(shù)

8、據(jù)。21如果要素類的Geometry參與到拓?fù)?、網(wǎng)絡(luò)、關(guān)系中去了,不要用SQL語句改它。可以讀,但是,它們無法正確地進行相關(guān)修改。22Row_ID(ObjectID)不能改。2012/11/24 SatIFeatureBuffer.Fieldsget;:IFields . Shape .get_Value .set_Value % Feature類似于IRowBuffer,主要用于Insert Feature Cursor rasOut = (IRaster)mapAlgebraOp.Execute(expression);IRasterBandCollection rasterBandCol

9、lection = (IRasterBandCollection)rasOut;IRasterBand rasterBand = rasterBandCollection.Item(0); IRasterDataset rasterDataset = rasterBand.RasterDataset; / Query the dataset for ITemporaryDataset. ITemporaryDataset temporaryDataset = (ITemporaryDataset)rasterDataset; if (temporaryDataset.IsTemporary()

10、 / 我試過那么久,這個判斷竟然為假 temporaryDataset.MakePermanent(); 3ITemporaryDataset is not supported by aRasterDatasetinstance from anArcSDE geodatabase or a File geodatabase.Temporary raster datasets are created by most operations performed by the Spatial Analyst Extension and also can be created usingIRasterW

11、orkspace2:CreateRasterDatasetmethod.MakePermanent method change the status of a dataset from temporary to permanent. If the dataset is permanent,MakePermanent does nothing.MakePermanentAs method makes the current dataset permanent by creating a new raster dataset that contains the same data.The curr

12、ent raster dataset will be deleted when all references to it are released. The supported output formats are same as ISaveAs.4public HYPERLINK http:/:47873/help/1-5464/?method=f1&query=ESRI.ArcGIS.Geodatabase.IDataset&format=html&product=VS&productVersion=100&locale=en-us IDataset ITemporaryDataset .

13、MakePermanentAs ( HYPERLINK http:/:47873/help/1-5464/?method=page&id=T:System.String&product=vs&productversion=100&locale=en-us&topicversion=90 stringnew_name, HYPERLINK http:/:47873/help/1-5464/?method=f1&query=ESRI.ArcGIS.Geodatabase.IWorkspace&format=html&product=VS&productVersion=100&locale=en-u

14、s IWorkspaceWorkspace, HYPERLINK http:/:47873/help/1-5464/?method=page&id=T:System.String&product=vs&productversion=100&locale=en-us&topicversion=90 stringFormat);5ITemporaryDataset. HYPERLINK http:/:47873/help/1-5464/ms.help?method=page&id=ESRIDATASOURCESRASTER-65587038-0006C2&product=VS&productVer

15、sion=100&topicVersion=&locale=EN-US&topicLocale=EN-US IsTemporary(). HYPERLINK http:/:47873/help/1-5464/ms.help?method=page&id=ESRIDATASOURCESRASTER-65587038-0006C3&product=VS&productVersion=100&topicVersion=&locale=EN-US&topicLocale=EN-US MakePermanent(). HYPERLINK http:/:47873/help/1-5464/ms.help?

16、method=page&id=ESRIDATASOURCESRASTER-65587038-0006C4&product=VS&productVersion=100&topicVersion=&locale=EN-US&topicLocale=EN-US MakePermanentAs() % HYPERLINK http:/:47873/help/1-5464/?method=f1&query=ESRI.ArcGIS.DataSourcesRaster.FunctionRasterDataset&format=html&product=VS&productVersion=100&locale

17、=en-us FunctionRasterDataset % HYPERLINK http:/:47873/help/1-5464/?method=f1&query=ESRI.ArcGIS.DataSourcesRaster.RasterDataset&format=html&product=VS&productVersion=100&locale=en-us RasterDataset6ISaveAs.CanSaveAs(string fromat) :bool , 7public HYPERLINK http:/:47873/help/1-5464/?method=f1&query=ESR

18、I.ArcGIS.Geodatabase.IDataset&format=html&product=VS&productVersion=100&locale=en-us IDataset ISaveAs.SaveAs ( HYPERLINK http:/:47873/help/1-5464/?method=page&id=T:System.String&product=vs&productversion=100&locale=en-us&topicversion=90 stringName, HYPERLINK http:/:47873/help/1-5464/?method=f1&query

19、=ESRI.ArcGIS.Geodatabase.IWorkspace&format=html&product=VS&productVersion=100&locale=en-us IWorkspaceWorkspace, HYPERLINK http:/:47873/help/1-5464/?method=page&id=T:System.String&product=vs&productversion=100&locale=en-us&topicversion=90 stringFormat);Format NameString UsedImagineIMAGINE ImageTIFFTI

20、FFGRIDGRIDJPEGJPGJP2000JP2BMPBMPPNGPNGGIFGIFPCI RasterPIXX11 PixmapXPMPCRasterMAPMemory RasterMEMHDF4HDF4BILBILBIPBIPBSQBSQIdrisi Raster FormatRSTENVI Raster FormatENVIGeodatabase RasterGDB7ISaveAs %MosaicRaster %Raster %RasterDataset8ISaveAs2 多一個 public IRasterDataset SaveAsRasterDataset ( stringNa

21、me, IWorkspaceWorkspace, stringFormat, IRasterStorageDefStorageDef);9saveAs.SaveAs(c:tempimage1.img, null, IMAGINE Image);2012/11/25 SunIWorkspace2只有一個bool get_NameExists ( esriDatasetTypeType, stringName); %Sde4Workspace % Workspace要查找一個DS中是不是有某個FC,用IFeatureClassContainer:ClassByName ,因為NameExists會

22、在整個Workspace中找。public class CreateRandomPoints : ESRI.ArcGIS.Geoprocessor.ESRI.ArcGIS.Geoprocessor.IGPProcess2012/11/26 MonIn ArcGIS 10, you need to set the product that will execute the code by the RuntimeManager. Add ESRI.ArcGIS.Version to your project as a reference. However, you dont need to add

23、 the namespace to your code with the using keyword.RuntimeManager.Bind(ProductCode.EngineOrDesktop )使用 ArcView 或 ArcEditor license, 必須使用 HYPERLINK http:/:47873/help/1-2476/?method=f1&query=ESRI.ArcGIS.esriSystem.AoInitialize&format=html&product=VS&productVersion=100&locale=en-us AoIntialize, and the

24、 product must be set to ArcView or ArcEditor, 否則會失敗。geoprocessor 默認(rèn)假定使用一個工具需要ArcInfo licenseESRI.ArcGIS.RuntimeManager.Bind(ESRI.ArcGIS.ProductCode.Desktop); /Initialize the application. esriLicenseStatus licenseStatus = esriLicenseStatus.esriLicenseUnavailable; IAoInitialize m_AoInitialize = new Ao

25、InitializeClass(); licenseStatus = m_AoInitialize.Initialize (esriLicenseProductCode.esriLicenseProductCodeArcInfo); licenseStatus = m_AoInitialize.CheckOutExtension (esriLicenseExtensionCode.esriLicenseExtensionCodeSpatialAnalyst);/ Initialize the geoprocessor. Geoprocessor gp = new Geoprocessor();

26、 Slope tSlope = new Slope(); tSlope.in_raster = E:Datademlatgrd; tSlope.out_raster = E:Dataaspect03; gp.Execute(tSlope, null); licenseStatus = m_AoInitialize.CheckInExtension (esriLicenseExtensionCode.esriLicenseExtensionCodeSpatialAnalyst); m_AoInitialize.Shutdown(); m_AoInitialize = null;DLL 不需要用A

27、oInitialize配置License,因為它會加到某個程序中,由那個程序來配置一般有兩種License要配置 HYPERLINK http:/:47873/help/1-2476/ms.help?method=page&id=ESRISYSTEM-89F44D96-000085&product=VS&productVersion=100&topicVersion=&locale=EN-US&topicLocale=EN-US esriLicenseProductCodes HYPERLINK http:/:47873/help/1-2476/ms.help?method=page&id=E

28、SRISYSTEM-89F44D96-000083&product=VS&productVersion=100&topicVersion=&locale=EN-US&topicLocale=EN-US esriLicenseExtensionCodes 多達57種License類型:Engine Single Use : ArcGIS Engine 或 Engine with GeoDatabase Editing licenses.Desktop Concurrent licenses:Desktop concurrent ArcView, ArcEditor and ArcInfo lic

29、enses.Desktop Single Use licenses use the same technology as Desktop Concurrent licenses and provide access to Single Use ArcView, ArcEditor and ArcInfo licenses.應(yīng)該與上一個視作相同的, 因為沒什么差別設(shè)置License的步驟esriLicenseStatus IAoInitialize .IsProductCodeAvailable ( esriLicenseProductCodeProductCode);9調(diào)用Analysis 中

30、的Erase出錯的原因:AE的License初始化有兩種方式:1、采用LicenseControl控件初始化我想這也是大部分的開發(fā)者所采用的。但要注意的是,AE的License有著同ArcGIS Desktop一樣的級別控制??梢栽诳丶膶傩灾性O(shè)置,如下圖:但更要注意的是,千萬不要貪多而勾選我多個級別的License。LicenseControl的License級別只有第一個勾選的生效!因為高級別的License已經(jīng)包含了較低級別的,所以多選了不但無益,反而壞事了!2、采用代碼初始化License這種方法相信很少人用,但要注意的也是不要初始化多個License級別了,只要初始化你需要的最高級別

31、的License就可以了,先初化的生效!原因同上。代碼如下:IAoInitialize m_AoInitialize = new AoInitializeClass();esriLicenseStatus licenseStatus = esriLicenseStatus.esriLicenseUnavailable;licenseStatus = m_AoInitialize.Initialize(esriLicenseProductCode.esriLicenseProductCodeArcInfo);/下面的初始化不會生效!licenseStatus = m_AoInitialize.I

32、nitialize(esriLicenseProductCode.esriLicenseProductCodeEngine);復(fù)制代碼回到我原來的問題上來,因為Near工具是ArcInfo級別的,而Buffer工具好像是ArcView級別的,所以出現(xiàn)了在同一位置的工具,有的能執(zhí)行,有的不能執(zhí)行的怪事!我原來勾選了多個License級別,而ArcInfo恰恰在最后,所以它一直沒生效,所以Near工具一直不執(zhí)行,所以有了這篇帖子?。ê呛牵缓靡馑?,我是菜鳥?。┰谶@里建議ESRI把級別高的License放到前面去,這樣不是更省事了,呵呵。The Append tools Field Map cont

33、rol 控制輸入的DS的屬性如何轉(zhuǎn)入目標(biāo)DS中.只有 Schema Type NO_TEST is specified.時才能用SCHEMA TYPE 為TEST時,輸入的DS與目標(biāo)DS的列必須是相同的,為NO_TEST時,不必相同,但除非在Field Map control中進行了映射,否則輸入DS中與目標(biāo)DS中不同的列都會被省略。 HYPERLINK http:/:47873/help/1-2476/ms.help?method=page&id=M:SYSTEM.RUNTIME.INTEROPSERVICES.MARSHAL.RELEASECOMOBJECT(SYSTEM.OBJECT)&

34、product=VS&productversion=100&locale=en-US&topiclocale=EN-US&topicversion=100&SQM=2 o Marshal.ReleaseComObject Method (System.Runtime.InteropServices) Marshal.ReleaseComObject Method (System.Runtime.InteropServices)在AO中則是ESRI.ArcGIS.ADF.Connection.Local庫中ESRI.ArcGIS.ADF.ComReleaser.ReleaseComObject(

35、)In .NET code, references to COM objects are held via runtime callable wrappers (RCWs), managed objectsthat act as proxy objects for the underlying COM object.COM objects left in memory for an extended period after usecan cause problems and errors on shutdown. Singletons are a type of COM object tha

36、t have only one instance per process. You might find your code results in errors if singletons are left hanging (a process known as pinning). In the case of singletons, it is necessary to always unpin (or release) the reference, regardless of the specific application programming interface (API) you

37、are using. For non-.NET APIs, set the member variable equal to nothing. For the .NET API, release the singleton COM object using the ComReleaser class2012/11/27 Tuesday1IRasterDataset rstDs = rstWs.OpenRasterDataset(slide.tif);IRaster2 raster2 = rstDs.CreateDefaultRaster() as IRaster2; 跑第一句時slide.ti

38、f所在的文件夾還沒出現(xiàn)鎖slide.tif.vat.dbf.PETERS-PC.7500.5704.sr.lock,跑完第二句就出來了接下來又有這句。 IRasterCursor rasterCursor = raster2.CreateCursorEx(null);用完這個Cursor,并用 ComReleaser.ReleaseCOMObject(rasterCursor); 釋放掉之后 ,鎖就不見了。.剛重試的時候,翻譯掉Cursor沒用,釋放掉上面的raster2 才行。用Geoprocessor 運行Sample這個工具之后,在Sample用到的其中的一個柵格slide.tif上也出

39、現(xiàn)了一個鎖slide.tif.vat.dbf.PETERS-PC.7500.5704.sr.lock。光是設(shè)置Sample參數(shù)不會產(chǎn)生鎖,調(diào)用 GP的Execute才產(chǎn)生鎖 。但是釋放掉GP或者Sample都不能讓鎖消失。關(guān)掉正在調(diào)試的程序,那個鎖不見了,直接停止調(diào)試,過了一會鎖才消失。停止vshost.exe進程之后,在2那里,釋放掉Cursor鎖就不見了。2012/12/04IFeatureClass.FeatureClassID 只讀,返回FeatureClass的Unique ID 。GDB 中的FeatureClass有唯一的 ID.Coverage 和Shapefile中的FC沒有

40、,因此會返回-1。由于FeaturesClassic繼承自IObjectClass ,也可由IobjectClass.ObjectClassID得到該值。ObjectClassID: registered with the geodatabase的feature class or table 是 object class. Object classes 的ID唯一,以與GDB中其它Object Class 區(qū)分 。The object class ID 在創(chuàng)建或者注冊到GDB時由系統(tǒng)分配不能更改。在DB中但沒有注冊到GDB中的feature classes and tables的object

41、class ID 為 -1.IfeatureClass.IfeatureClassID :只讀,返回theIFeatureDatasetinterface on the feature dataset that this feature class is a memeber of.如果是Stand Alone 的Features Classic,沒有相應(yīng)的Dataset的話,返回Null。coverage feature class則會返回自己,Shapefile的話返回Null2012/12/071IqueryDef .Evalute(): ICursor .SubFields:String

42、 : *,field1,field2,field3,table1.*, table2.field1,table3.field2 .Tables :String ,表名用逗號分隔,如果是SDE 的數(shù)據(jù)源,而且if the table is not owned by the current workspace.表名前需要加表的所有者的名稱也即HR.Test2Ilayer 的 AreaOfInterest 什么用?而且還是只讀的。.Cached,可讀寫,為True的話the Map will use a separate display cache for the layer so that it

43、can be refreshed indpendently of other layers.Map負(fù)責(zé)管理Cache,IscreenDisplay.AddCache():Short,新建Cache,并返回Cache 的ID,ID可用于StartDrawing()、DrawCache()、Invalidate()等方法。5ScreenDisplay objects make it possible for clients to create any number of caches. . A cache is an off screen bitmaprepresenting the applic

44、ations window. Instead of drawing directly to the screen, graphics are drawn into caches, then the cachesare drawn on the screen. When the applications windowis obscured and requires redrawing, it done so from the caches instead of from a database. In this way, caches improve drawing performance - b

45、itmap rendering is faster than reading and displaying data from a database.In general,a Map object creates three caches: one for all the layers, another if there are annotationor graphics, and a third cache if there is a feature selection. A layer can create its own private cache if it sets ILayer:C

46、ached equal to TRUE. In this case, the Map will create a separate cache for the layer and groups the layers above and below it into different caches.The AppDisplay object has no implementation for this method.IfeatureLayer.DisplayField 一般為name, or is the first string field found in the layers attrib

47、utes 。用于Map TipsIfeatureLayerClass:IfeatureLayerDefinition2 public IFeatureLayer CreateSelectionLayer ( stringLayerName, booluseCurrentSelection, stringjoinTableNames, stringExpression);stringDefinitionExpression :String HYPERLINK http:/:47873/help/1-3952/?method=f1&query=ESRI.ArcGIS.Geodatabase.ISe

48、lectionSet&format=html&product=VS&productVersion=100&locale=en-us ISelectionSet DefinitionSelectionSet get;public HYPERLINK http:/:47873/help/1-3952/?method=f1&query=ESRI.ArcGIS.Geodatabase.IRelationshipClass&format=html&product=VS&productVersion=100&locale=en-us IRelationshipClassRelationshipClass

49、get; set;public HYPERLINK http:/:47873/help/1-3952/?method=f1&query=ESRI.ArcGIS.Geodatabase.esriSearchOrder&format=html&product=VS&productVersion=100&locale=en-us esriSearchOrderSearchOrder get; set;2012/12/08 Sat 某些圖層并不引用數(shù)據(jù)源的數(shù)據(jù),比如 HYPERLINK http:/:47873/help/1-2940/?method=f1&query=ESRI.ArcGIS.Cart

50、o.GroupLayer&format=html&product=VS&productVersion=100&locale=en-us GroupLayer包含其它的圖層, HYPERLINK http:/:47873/help/1-2940/?method=f1&query=ESRI.ArcGIS.Carto.CompositeGraphicsLayer&format=html&product=VS&productVersion=100&locale=en-us CompositeGraphicsLayer則存儲Graphics圖層類型:FeatureLayerGraphicsLayerRa

51、sterLayerTinLayerCoverageAnnotationLayerGroupLayerIGeoFeatureLayer 訪問圖層引用的數(shù)據(jù) ,GroupLayer 沒有直接的數(shù)據(jù)源, 使用 HYPERLINK http:/:47873/help/1-2940/?method=f1&query=ESRI.ArcGIS.Carto.ICompositeLayer&format=html&product=VS&productVersion=100&locale=en-us ICompositeLayer訪問其各個子圖層。Ilayer的 Cached屬性。If Cached is set

52、 to true, the map gives a separate display cache to the layer so it can be refreshed independently of other layers. A tracking layer is an example of a custom layer that would set the Cached property to true because it may require to be refreshed more frequently than the rest of the map.Ilayer的SR,只用

53、于地圖顯示,它不會改變圖層引用的數(shù)據(jù)本身的SR自定義圖層You can write a custom layer to support an unsupported data type in ArcGIS or to change how a supported data type draws and behaves in ArcMap and other ArcGIS applications.ADF程序集中有輔助類。Layer、Renderer相關(guān)的類和接口主要在Carto庫中。Renderer分類:Feature renderers、Raster、Tin 圖層類型(Features、Ti

54、n、Raster)不同,給圖層設(shè)置Renderer的方式也不同。更新Renderer之后update the display by performing a partial refresh of the display.Renderer一般使用Symbol對象來繪制圖層,Symbol相關(guān)的類主要在Display庫中。每個Featur Layer只一個Feature Renderer , HYPERLINK http:/:47873/help/1-2940/?method=f1&query=ESRI.ArcGIS.Carto.IGeoFeatureLayer.Renderer&format=ht

55、ml&product=VS&productVersion=100&locale=en-us IGeoFeatureLayer.Renderer獲得、設(shè)置一個FeatureLayer 的Renderer。IFeatureRenderer設(shè)置Renderer的一般屬性。Feature Renderer必須實現(xiàn)ILegendInfo。一個Feature Renderer必須最少有一個 HYPERLINK http:/:47873/help/1-2940/?method=f1&query=ESRI.ArcGIS.Carto.LegendGroup&format=html&product=VS&prod

56、uctVersion=100&locale=en-us LegendGroup,一個 HYPERLINK http:/:47873/help/1-2940/?method=f1&query=ESRI.ArcGIS.Carto.LegendGroup&format=html&product=VS&productVersion=100&locale=en-us LegendGroup最少有一個LegendClassfeature renderers typically store all the symbols they use to draw features in their LegendCl

57、ass objects, it is best to access these symbols via the specific renderer interface for the renderer object youre using. For example, for ClassBreaksRenderer, use IClassBreaksRenderer.Symbol, or for ProportionalSymbolRenderer, use HYPERLINK http:/:47873/help/1-2940/?method=f1&query=ESRI.ArcGIS.Carto

58、.IProportionalSymbolRenderer.MinSymbol&format=html&product=VS&productVersion=100&locale=en-us IProportionalSymbolRenderer.MinSymboland HYPERLINK http:/:47873/help/1-2940/?method=f1&query=ESRI.ArcGIS.Carto.IProportionalSymbolRenderer.BackgroundSymbol&format=html&product=VS&productVersion=100&locale=e

59、n-us IProportionalSymbolRenderer.BackgroundSymbol. Although ILegendInfo is also implemented by most layer classes, layers typically defer all methods and properties to the renderers implementation.Raster Renderer RasterRenderer抽象類。IrasterRenderer,控制RasterRenderer的一般屬性。ESRI.ArcGIS.Catalog.IGxLayer,命名

60、空間中還有個IgxFileIMapDocument pMapDocument = new MapDocumentClass();/Use the map document class to open the layer.pMapDocument.Open(layerPathFile, );IRandomColorRamp 、IUniqueValueRenderer 、ISimpleFillSymbolIDisplayTable: This interface provides access to the table used for display purposes for layers an

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論