Beispiel #1
0
        /// <summary>
        /// Method that adds a rectangle to the page object
        /// </summary>
        /// <param name="X">X position of the rectangle in the page</param>
        /// <param name="Y">Y position of the rectangle in the page</param>
        /// <param name="X1">X1 position of the rectangle in the page</param>
        /// <param name="Y1">Y1 position of the rectangle in the page</param>
        /// <param name="strokeColor">Border's color</param>
        /// <param name="fillColor">Rectancle's color</param>
        /// <param name="borderWidth">Border's size</param>
        /// <param name="borderStyle">Border's style</param>
        public void drawRectangle(int X, int Y, int X1, int Y1, predefinedColor strokeColor, predefinedColor fillColor, int borderWidth, predefinedLineStyle borderStyle)
        {
            rectangleElement objRectangle = new rectangleElement(X, Y, X1, Y1, strokeColor, fillColor, borderWidth, borderStyle);

            _elements.Add(objRectangle);
            objRectangle = null;
        }
Beispiel #2
0
        /// <summary>
        /// Method that adds a rectangle to the page object
        /// </summary>
        /// <param name="X">X position of the rectangle in the page</param>
        /// <param name="Y">Y position of the rectangle in the page</param>
        /// <param name="X1">X1 position of the rectangle in the page</param>
        /// <param name="Y1">Y1 position of the rectangle in the page</param>
        /// <param name="strokeColor">Border's color</param>
        /// <param name="fillColor">Rectancle's color</param>
        public void drawRectangle(int X, int Y, int X1, int Y1, predefinedColor strokeColor, predefinedColor fillColor)
        {
            rectangleElement objRectangle = new rectangleElement(X, Y, X1, Y1, strokeColor, fillColor);

            _elements.Add(objRectangle);
            objRectangle = null;
        }
Beispiel #3
0
        /// <summary>
        /// Method that adds a rectangle to the page object
        /// </summary>
        /// <param name="X">X position of the rectangle in the page</param>
        /// <param name="Y">Y position of the rectangle in the page</param>
        /// <param name="X1">X1 position of the rectangle in the page</param>
        /// <param name="Y1">Y1 position of the rectangle in the page</param>
        /// <param name="strokeColor">Border's color</param>
        /// <param name="fillColor">Rectancle's color</param>
        /// <param name="borderWidth">Border's size</param>
        public void drawRectangle(int X, int Y, int X1, int Y1, pdfColor strokeColor, pdfColor fillColor, int borderWidth)
        {
            rectangleElement objRectangle = new rectangleElement(X, Y, X1, Y1, strokeColor, fillColor, borderWidth);

            _persistentElements.Add(objRectangle);
            objRectangle = null;
        }
Beispiel #4
0
 /// <summary>
 /// Method that adds a rectangle to the page object
 /// </summary>
 /// <param name="X">X position of the rectangle in the page</param>
 /// <param name="Y">Y position of the rectangle in the page</param>
 /// <param name="X1">X1 position of the rectangle in the page</param>
 /// <param name="Y1">Y1 position of the rectangle in the page</param>
 /// <param name="strokeColor">Border's color</param>
 /// <param name="fillColor">Rectancle's color</param>
 /// <param name="borderWidth">Border's size</param>
 /// <param name="borderStyle">Border's style</param>
 public void drawRectangle(int X, int Y, int X1, int Y1, predefinedColor strokeColor, predefinedColor fillColor, int borderWidth, predefinedLineStyle borderStyle)
 {
     rectangleElement objRectangle = new rectangleElement(X, Y, X1, Y1, strokeColor, fillColor, borderWidth, borderStyle);
     _elements.Add(objRectangle);
     objRectangle = null;
 }
Beispiel #5
0
 /// <summary>
 /// Method that adds a rectangle to the page object
 /// </summary>
 /// <param name="X">X position of the rectangle in the page</param>
 /// <param name="Y">Y position of the rectangle in the page</param>
 /// <param name="X1">X1 position of the rectangle in the page</param>
 /// <param name="Y1">Y1 position of the rectangle in the page</param>
 /// <param name="strokeColor">Border's color</param>
 /// <param name="fillColor">Rectancle's color</param>
 public void drawRectangle(int X, int Y, int X1, int Y1, predefinedColor strokeColor, predefinedColor fillColor)
 {
     rectangleElement objRectangle = new rectangleElement(X, Y, X1, Y1, strokeColor, fillColor);
     _elements.Add(objRectangle);
     objRectangle = null;
 }
 /// <summary>
 /// Method that adds a rectangle to the page object
 /// </summary>
 /// <param name="X">X position of the rectangle in the page</param>
 /// <param name="Y">Y position of the rectangle in the page</param>
 /// <param name="X1">X1 position of the rectangle in the page</param>
 /// <param name="Y1">Y1 position of the rectangle in the page</param>
 /// <param name="strokeColor">Border's color</param>
 /// <param name="fillColor">Rectancle's color</param>
 /// <param name="borderWidth">Border's size</param>
 public void drawRectangle(int X, int Y, int X1, int Y1, pdfColor strokeColor, pdfColor fillColor, int borderWidth)
 {
     rectangleElement objRectangle = new rectangleElement(X, Y, X1, Y1, strokeColor, fillColor, borderWidth);
     _persistentElements.Add(objRectangle);
     objRectangle = null;
 }