/// <summary> /// Method that adds a line to the page object /// </summary> /// <param name="X">X position of the line in the page</param> /// <param name="Y">Y position of the line in the page</param> /// <param name="X1">X1 position of the line in the page</param> /// <param name="Y1">Y1 position of the line in the page</param> /// <param name="lineStyle">Line's style</param> /// <param name="lineColor">Line's color</param> /// <param name="lineWidth">Line's size</param> public void drawLine(int X, int Y, int X1, int Y1, predefinedLineStyle lineStyle, predefinedColor lineColor, int lineWidth) { lineElement objLine = new lineElement(X, Y, X1, Y1, lineWidth, lineStyle, lineColor); _elements.Add(objLine); objLine = null; }
/// <summary> /// Method that adds a line to the page object /// </summary> /// <param name="X">X position of the line in the page</param> /// <param name="Y">Y position of the line in the page</param> /// <param name="X1">X1 position of the line in the page</param> /// <param name="Y1">Y1 position of the line in the page</param> public void drawLine(int X, int Y, int X1, int Y1) { lineElement objLine = new lineElement(X, Y, X1, Y1); _elements.Add(objLine); objLine = null; }
/// <summary> /// Method that adds a line to the page object /// </summary> /// <param name="X">X position of the line in the page</param> /// <param name="Y">Y position of the line in the page</param> /// <param name="X1">X1 position of the line in the page</param> /// <param name="Y1">Y1 position of the line in the page</param> /// <param name="lineStyle">Line's style</param> public void drawLine(int X, int Y, int X1, int Y1, predefinedLineStyle lineStyle) { lineElement objLine = new lineElement(X, Y, X1, Y1, lineStyle); _elements.Add(objLine); objLine = null; }
/// <summary> /// Method that adds a line to the page object /// </summary> /// <param name="X">X position of the line in the page</param> /// <param name="Y">Y position of the line in the page</param> /// <param name="X1">X1 position of the line in the page</param> /// <param name="Y1">Y1 position of the line in the page</param> /// <param name="lineStyle">Line's style</param> /// <param name="lineColor">Line's color</param> public void drawLine(int X, int Y, int X1, int Y1, predefinedLineStyle lineStyle, pdfColor lineColor) { lineElement objLine = new lineElement(X, Y, X1, Y1, lineStyle, lineColor); _persistentElements.Add(objLine); objLine = null; }
/// <summary> /// Method that adds a line to the page object /// </summary> /// <param name="X">X position of the line in the page</param> /// <param name="Y">Y position of the line in the page</param> /// <param name="X1">X1 position of the line in the page</param> /// <param name="Y1">Y1 position of the line in the page</param> /// <param name="lineColor">Line's color</param> /// <param name="lineWidth">Line's size</param> public void drawLine(int X, int Y, int X1, int Y1, pdfColor lineColor, int lineWidth) { lineElement objLine = new lineElement(X, Y, X1, Y1, lineWidth, lineColor); _persistentElements.Add(objLine); objLine = null; }
/// <summary> /// Method that adds a line to the page object /// </summary> /// <param name="X">X position of the line in the page</param> /// <param name="Y">Y position of the line in the page</param> /// <param name="X1">X1 position of the line in the page</param> /// <param name="Y1">Y1 position of the line in the page</param> /// <param name="lineStyle">Line's style</param> /// <param name="lineWidth">Line's size</param> public void drawLine(int X, int Y, int X1, int Y1, predefinedLineStyle lineStyle, int lineWidth) { lineElement objLine = new lineElement(X, Y, X1, Y1, lineWidth, lineStyle); _persistentElements.Add(objLine); objLine = null; }
/// <summary> /// Method that adds a line to the page object /// </summary> /// <param name="X">X position of the line in the page</param> /// <param name="Y">Y position of the line in the page</param> /// <param name="X1">X1 position of the line in the page</param> /// <param name="Y1">Y1 position of the line in the page</param> /// <param name="lineColor">Line's color</param> public void drawLine(int X, int Y, int X1, int Y1, pdfColor lineColor) { lineElement objLine = new lineElement(X, Y, X1, Y1, lineColor); _elements.Add(objLine); objLine = null; }