Select to view content in your preferred language

esriViewDrawPhase.esriViewDrawBackground relates what?

1049
2
Jump to solution
11-01-2013 07:25 AM
kju
by
Regular Contributor
Hi,there.
I got some information ref esri help:http://resources.esri.com/help/9.3/arcgisengine/dotnet/2a1de2c3-0c3e-412e-8e1e-1a29d657be8c.htm

It says that esriViewDrawBackground relates to the 'bottom layer',I confuse about this and I saw some code like:
axMapControl1.PartialRefresh(esriViewDrawPhase.esriViewBackground, null, null);

after tracking a new regtangle to show.
0 Kudos
1 Solution

Accepted Solutions
kju
by
Regular Contributor
Hi,there.
I got some information ref esri help:http://resources.esri.com/help/9.3/arcgisengine/dotnet/2a1de2c3-0c3e-412e-8e1e-1a29d657be8c.htm

It says that esriViewDrawBackground relates to the 'bottom layer',I confuse about this and I saw some code like:
axMapControl1.PartialRefresh(esriViewDrawPhase.esriViewBackground, null, null);

after tracking a new regtangle to show.



At the 10 version of the esri document,It replaced with esriViewGeography.

View solution in original post

0 Kudos
2 Replies
kju
by
Regular Contributor
Hi,there.
I got some information ref esri help:http://resources.esri.com/help/9.3/arcgisengine/dotnet/2a1de2c3-0c3e-412e-8e1e-1a29d657be8c.htm

It says that esriViewDrawBackground relates to the 'bottom layer',I confuse about this and I saw some code like:
axMapControl1.PartialRefresh(esriViewDrawPhase.esriViewBackground, null, null);

after tracking a new regtangle to show.



At the 10 version of the esri document,It replaced with esriViewGeography.
0 Kudos
kju
by
Regular Contributor
Hi friends,I am new to the arc object and the engine.
    Using 'IMapControlDefault.ActiveView.PartialRefresh(esriViewDrawPhase.esriViewGeoSelection, null, null);' or 'IMapControlDefault.Refresh(esriViewDrawPhase.esriViewGeoSelection, null, null);' does not work at all.
    using 'IMapControlDefault.Refresh();' or 'IMapControlDefault.ActiveView.Refresh();' instead will work.
    I have searched informations on the esri help document,but it seems none suit or can explain why.
0 Kudos