TriangleElement.TriangleElementClass.QueryOutline C# (CSharp) 메소드

QueryOutline() 공개 메소드

public QueryOutline ( IDisplay Display, IPolygon Outline ) : void
Display IDisplay
Outline IPolygon
리턴 void
    public void QueryOutline(IDisplay Display, IPolygon Outline)
    {
      //return a polygon which is the outline of the element
      IPolygon polygon = new PolygonClass();
      polygon.SetEmpty();
      ((ISymbol)m_fillSymbol).QueryBoundary(Display.hDC, Display.DisplayTransformation, m_triangle, polygon);
      ((IPointCollection)Outline).AddPointCollection((IPointCollection)polygon);
    }