0
votes
0answers
77 views

How to get The character spacing from a ITextElement arcgis engine 9.3 C#

i have a problem.I can set character spacing to a IElement as ITexElement like : TextSymbolClass pTextSymbol = new TextSymbolClass(); pTextSymbol.CharacterSpacing = 10 ; //etc ...
0
votes
0answers
158 views

Changes in Activeview are not in exported image

I am trying to export without Arcmap so i created a webservice in C#. The export works OK. The problem is that whatever i do with the activeview(pan, zoom) it is not affected to the exported image. I ...
0
votes
0answers
147 views

Export From PGDB to ArcSde Using C#

I need help exporting a personal geodatabase Feature Class to an ArcSDE geodatabase using C# ArcObjects with ArcGIS 9.3. I just want to replicate the tool Feature Class to Feature Class ...
0
votes
1answer
96 views

How can i generate parcel extracts on demand through a webservice

Ok, i need to generate parcel extract documents on demand. The backend is Arcgis 9.3.1 on SQL server 2008. I would like to build a webservice (C# .Net) on the server that generates these extracts. My ...
1
vote
0answers
37 views

Problem in VersionEdit4.Reconcile4 method

I had an standalone application in which i am getting all the available versions in the database. Based on user filter he selects multiple versions and reconcile it. if ...
0
votes
0answers
47 views

How to check a polyline is self intersecting [duplicate]

How to check weather a single polyline is self intersecting to itself. using arcobject C#
1
vote
0answers
146 views

How to get hold of the Activated Event for the ArcMap window?

I am using ArcObjects 9.3 .NET. In my ArcMap dockable window, I have a single element host hosting a WPF user control (That's the only means of using WPF for ArcMap extensions as far as I know). ...
5
votes
1answer
545 views

Select By Location in ArcGIS using C#

I am creating a tool which the user will select point or line features from the map and it will display their names in a list then after clicking on any of these features from the list, it will show ...
3
votes
1answer
158 views

Copy Parallel - Problem

Our data is of pipelines and nodes wherein for each feature there is a line and a point node as end points. So while copying parallel lines, we need to customize the OOTB tool so as to copy specific ...
2
votes
1answer
156 views

How to move all elements of PageLayout to left (right, right, up, down..) 5 cm (C#) ?

Are there anyone know how to move all element (text, line,) of a PageLayout (in GraphicsContainer) to left (or right, up...) 5 cm using C# ? Thank you very much !
3
votes
0answers
327 views

How to change page size of pagelayout for printing custom size?

I have a A3 printer (size: 297mm x 420mm). But I am wanting to print my pagelayout with paper size is: 265mm x 380mm I tried to change the page size of my pagelayout to 265mm x 380mm by using the ...
5
votes
1answer
128 views

how to capture the clicked point before moving a vertex

I need the location of clicked point before moving a vertex. IVertexMoved event will provide me the coordinates of the point after vertex is moved but I need before moving. Please help. Regards, ...
2
votes
1answer
263 views

How to display custom context menu during create feature task?

I have a created a custom context menu using ICommandBar and am displaying it on create feature mouse-down right click. I am constructing a point collection on each mouse down and then creating a ...
2
votes
1answer
101 views

How to unselect elements in PageLayoutControl (using C#)

I have a PagelayoutControl with the name: PageControl. And I added a text element into MapFrame (FocusMap) of the PagelayoutControl. If the text element and MapFrame are selected (by using the button ...
2
votes
0answers
234 views

Creating a new map frame: Error HRESULT E_FAIL has been returned from a call to a COM component

I am trying to create a new map frame in the PageLayout Control. But I got the error: Error HRESULT E_FAIL has been returned from a call to a COM component at the method AddElement. Please see ...
2
votes
0answers
103 views

How to print two pagelayout on two sides at the same time ?

I am having a PageLayoutControl with name: PageControl1. I used below codes for printing it: public override void OnClick() { try { PrintDialog ...
6
votes
2answers
269 views

Error: can't display dash lines (broken lines) when zooming PageLayout

I am working with PageLayoutControl, its mapframe include elements: lines, texts. And I am getting an error when zooming: If I zoom the pagelayout to 100% ( smaller than 110%), it can display "Dash ...
2
votes
0answers
162 views

How to set the font size of ITextElement if only know Height of the text?

When I read text elements from a .dgn file. I only can get the "height", "length" attribute of the text (it doesn't have a "size" attribute) (example: total height = 0.9; total length = 8.6). I need ...
2
votes
0answers
246 views

Store elements of Imap into BLOB fields using IPersistStream

I have an IMap (include elements: text, line) and I want to store it into a field of a table in SQL, so I can load it again later. I used below codes, but I got an the error : public class Test { ...
1
vote
1answer
373 views

Implementing Custom Selection Tool (Adding to current selection) with ArcObjects

I am trying to implement a custom selection tool in ArcMap 9.3.1 that is functionally similar to the default ArcMap selection tool with "Adding to current selection" enabled. ie. the user can click to ...
1
vote
2answers
539 views

IFeature.Store seems to bypass edit sessions and cannot be rolled back. Why?

I'm working with ArcObjects edit sessions for the first time and am having some trouble with it. The C# code I am about to discuss is part of an ArcMap 9.3 extension DLL. My problem is that calls to ...
4
votes
1answer
332 views

Programatically take screenshot of map extent in ArcMap 9.3

Is it possible to programatically capture a screenshot of the current map extent (the map area with any active displayed layers) in ArcMap with the ArcObjects .NET SDK?
1
vote
1answer
304 views

How do i create menu in base toolbar?

i'd like to create menus in a base toolbar like arcHdro tools or spatial analyst . how can i create menus with arcengine 9.3 in my toolbar ( the toolbar shows in arcmap )?
1
vote
0answers
151 views

Trouble programmatically publishing to SOM when SOC is on another machine [closed]

I wrote a desktop extension for ArcMap that allows a user to publish the map they've just created to an AGS 9.3.1 machine on another server. This works fine as long as the AGS machine acts as a SOM ...
5
votes
1answer
216 views

When a class in an ArcGIS extension should be an ArcGIS class

Visual Studio templates provided by the ArcGIS SDK offer a "ArcGIS Class" which is a simple C# class that has the attributes Guid, ClassInterface, and ProgId before the class declaration. While adding ...
6
votes
3answers
726 views

Server Object Extension doesn't work

I built a server object extension in C# and Visual Studio 2010, using the ESRI sample for the Spatial Query SOE as a starting point. (see the page on resources.esri.com) The SOE never displays a ...