Tagged Questions
6
votes
2answers
154 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 ...
6
votes
3answers
648 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 ...
5
votes
1answer
214 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 ...
5
votes
1answer
209 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 ...
5
votes
1answer
100 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,
...
3
votes
1answer
177 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?
3
votes
1answer
86 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 ...
3
votes
0answers
118 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 ...
2
votes
1answer
93 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 !
2
votes
1answer
65 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
1answer
157 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
0answers
168 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
62 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 ...
2
votes
0answers
168 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
2answers
211 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 ...