You can think of QueryInterface simply as a COM type-cast. QI, or QueryInterface , is a term used by the Microsoft COM specification. This repo contains the source code samples .Net c#,.Net vb, and C++) that demonstrate the usage of the ArcObject SDK. Learning ArcObject. Contribute to hellocomrade/ArcObject development by creating an account on Lesson 5: ArcObjects Object Model Diagram (OMD).

Author: Mikazilkree Yozshujinn
Country: Sri Lanka
Language: English (Spanish)
Genre: Career
Published (Last): 25 November 2006
Pages: 59
PDF File Size: 3.36 Mb
ePub File Size: 10.40 Mb
ISBN: 937-6-33033-669-5
Downloads: 56479
Price: Free* [*Free Regsitration Required]
Uploader: Yojora

Removes the item at the specified index from the SymbologyStyleClass. When you call IFeatureWorkspace. Indicates whether or not the Map’s scrollbars are visible. Provides access to members that control SymbologyControl style classes.

Similarly, if you know you want a reference to the page layout, use IMxDocument:: The active graphics layer. The symbol or map element to be stored in the Style Gallery item.

ArcUser Online

From Microsoft’s documentation on COM:. The graphic element for displaying GeoPolygons. Notice that the assembly has been added to the References in your project. Please consider using the more recent version. Draws the map grid for a map frame to the given display. Indicates whether the spatial reference is prevented from being changed.

The following question answers this to some extent: In other words, as long as your compiler can produce binary objects that adhere to the COM binary standard, they can interact with each other, no matter what language they were originally written in.


For more information, contact. A Name and Category are also properties of the items within the style gallery. Give your project an appropriate name, click OK, and Visual Studio creates a new solution for you that includes references to assemblies we will be using and a C file named Program. The default area of interest for the layer. Provides access to members that control the TOCControl.

The scale at which the map should be displayed. Add new graphic elements to the layer. Returns the visibility of the labels along all four sides of the map grid. Handle to the window associated with the SymbologyControl.

ArcObjects Diagram (AllOMDs) for Arc10 | GeoNet

Adds a shapefile as a layer to the Map. The number of subticks to draw between the major ticks. A graphic element for displaying map surrounds.

This is an excellent write-up on the technicalities involved. The display style of the SymbologyControl. I cannot be arcpbjects, so do not take my words as facts, but as I understand it, when someone refers to QI hopping, they mean passing an object through the different interfaces that support it such as with casting to end up with an object type that can be used in a given method.

Fires after a key is pressed on the keyboard. Converts a point on the Map in map units to device co-ordinates typically pixels.

The relationship classes in which this object class participates in for the specified role. Fires after the full extent bounds of the PageLayoutControl has changed. Draws the view to the specified device context. Rather, COM specifies an object model and programming requirements that enable COM objects also called COM components, or arcobects simply objects to interact with other objects. Maps is not guaranteed to be the focus map.


Deletes atcobjects map surround from the map. How to drop data onto the MapControl. Arcobuects to the window associated with the PageLayoutControl. The Graphic Element to display adjustment links. Provides access to members that control the collection of legend classes provided by a renderer.

Creates a cursor based upon the search criteria. Open string sDocument, string bsPassword. Indicates if the map document is read only. There are several reasons you might want to use the. An optional style object may be specified.

【】◀▶ ArcObjects 类库(一) – McDelfino – 博客园

Return menu that should be displayed. Writing your code in Notepad and compiling using the C command line compiler is by far the simplest way of constructing a.

Current active tool for the PageLayoutControl. The map surround at the given index. Returns any maps present in the view at the given location.

The connection properties from the specified file. Graphic sublayer handed back by the composite graphics layer.