Пример #1
0
        internal void SaveImage()
        {
            if (_image != null)
            {
                try
                {
                    string relId = PictureStore.SavePicture(_image, this);

                    //Create relationship
                    SetXmlNodeString("v:fill/@o:relid", relId);
                }
                catch (Exception ex)
                {
                    throw (new Exception("Can't save image - " + ex.Message, ex));
                }
            }
        }