Revit.SDK.Samples.CurtainWallGrid.CS.GridDrawing.DrawBoundLines C# (CSharp) Méthode

DrawBoundLines() private méthode

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 ///
Résultat void
        private void DrawBoundLines(Graphics graphics, Pen pen)
        {
            foreach (GridLine2D line2D in m_boundLines2D)
             {
            graphics.DrawLine(pen, line2D.StartPoint, line2D.EndPoint);
             }
        }