Example #1
0
        /// <summary>
        /// Add arrow to EditLayer
        /// </summary>
        public void addElement(Point _ArrowP1, Point _ArrowP2, int _ToolSize)
        {
            c_EditLayerElement e = new c_EditLayerElement();

            e.type      = elementTypes.arrow;
            e._ArrowP1  = _ArrowP1;
            e._ArrowP2  = _ArrowP2;
            e._ToolSize = _ToolSize;
            elements.Add(e);
        }
Example #2
0
        /// <summary>
        /// Add Textbox to EditLayer
        /// </summary>
        public void addElement(Point _Position, Size _Size, Font _Font)
        {
            c_EditLayerElement e = new c_EditLayerElement();

            e.type      = elementTypes.textbox;
            e._Position = _Position;
            e._Size     = _Size;
            e._Font     = _Font;
            elements.Add(e);
        }
Example #3
0
        /// <summary>
        /// Add Drawing to EditLayer
        /// </summary>
        public void addElement(Bitmap _Drawing, Point _Position, Size _Size)
        {
            c_EditLayerElement e = new c_EditLayerElement();

            e.type      = elementTypes.drawing;
            e._Drawing  = _Drawing;
            e._Position = _Position;
            e._Size     = _Size;
            elements.Add(e);
        }