Пример #1
0
        /// <summary>
        /// Inserts image at the given position
        /// </summary>
        /// <param name="image"></param>
        /// <param name="position"></param>
        public void InsertImage(Image image, int position)
        {
            ImageDataObject ido = new ImageDataObject();

            ido.SetImage(image);
            InsertImageDataObject(ido, position);
        }
Пример #2
0
        /// <summary>
        /// Inserts given image at the cursor position
        /// </summary>
        /// <param name="image"></param>
        public void InsertImage(Image image)
        {
            ImageDataObject ido = new ImageDataObject();

            ido.SetImage(image);
            InsertImageDataObject(ido);
        }