AGI STK Esri Display 11 Send comments on this topic.
DrawResume Method (IAgEsri3dRenderer)
See Also  Example
Windows






Windows & Linux

Description

Resumes drawing.

Syntax

[Visual Basic .NET]
Public Sub DrawResume() 

[C#]
public void DrawResume();

[Managed C++]
public: void DrawResume();

[Java]
public  drawResume();

[Unmanaged C++]
public: HRESULT DrawResume();

Remarks

Resume the rendering operations in the GIS thread. Use this method to improve the performance of several consecutive calls into the GIS thread. The number of calls to DrawPause and DrawResume must match.

Example

[C#] Copy Code
m_Renderer.DrawPause(); 
m_ListView.BeginUpdate(); 
for (int i = 0; i < rowObj.Row.Fields.FieldCount; ++i) 

    IField field = rowObj.Row.Fields.get_Field(i); 
    m_SelectedFeature = rowObj.Row as IFeature; 
    String[] fields = new String[2]; 
    fields[0] = field.Name; 
    if (field.Name.ToUpper().Equals("SHAPE")) 
    { 
        fields[1] = m_SelectedFeature.Shape.GeometryType.ToString(); 
         
    } 
    else 
    { 
        fields[1] = m_SelectedFeature.get_Value(m_SelectedFeature.Class.FindField(field.Name)).ToString(); 
        if (field.Name.ToUpper().Equals("OBJECTID")) 
        { 
            m_SelectedOID = int.Parse(fields[1]); 
        } 
    } 
    m_ListView.Items.Add(new ListViewItem(fields)); 
 

m_ListView.EndUpdate(); 
m_Renderer.DrawResume(); 

See Also

© 2017 Analytical Graphics, Inc. All Rights Reserved.

STK 11.2.1 Programming Interface