Revit.SDK.Samples.CurtainWallGrid.CS.GridDrawing.DrawBoundLines C# (CSharp) Method

DrawBoundLines() private method

draw the boundary lines of the curtain grid
private DrawBoundLines ( Graphics graphics, Pen pen ) : void
graphics System.Drawing.Graphics /// used in drawing the lines ///
pen System.Drawing.Pen /// the pen used to draw the boundary line ///
return void
        private void DrawBoundLines(Graphics graphics, Pen pen)
        {
            foreach (GridLine2D line2D in m_boundLines2D)
             {
            graphics.DrawLine(pen, line2D.StartPoint, line2D.EndPoint);
             }
        }