Ejemplo n.º 1
0
            public void Serialize(object obj, Altaxo.Serialization.Xml.IXmlSerializationInfo info)
            {
                LinkedImageGraphic s = (LinkedImageGraphic)obj;

                info.AddBaseValueEmbedded(s, typeof(LinkedImageGraphic).BaseType);
                info.AddValue("ImagePath", s._imagePath);
            }
Ejemplo n.º 2
0
            public object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent)
            {
                LinkedImageGraphic s = null != o ? (LinkedImageGraphic)o : new LinkedImageGraphic();

                info.GetBaseValueEmbedded(s, typeof(LinkedImageGraphic).BaseType, parent);
                s._imagePath = info.GetString("ImagePath");
                return(s);
            }
Ejemplo n.º 3
0
        protected override void CopyFrom(GraphicBase bfrom)
        {
            LinkedImageGraphic from = bfrom as LinkedImageGraphic;

            if (from != null)
            {
                this._imagePath   = from._imagePath;
                this._cachedImage = null == from._cachedImage ? null : (Image)from._cachedImage.Clone();
            }
            base.CopyFrom(bfrom);
        }
Ejemplo n.º 4
0
 public LinkedImageGraphic(LinkedImageGraphic from)
   :
   base(from)
 {
 }
Ejemplo n.º 5
0
		public LinkedImageGraphic(LinkedImageGraphic from)
			:
			base(from) // all is done here, since CopyFrom is virtual!
		{
		}
Ejemplo n.º 6
0
 public LinkedImageGraphic(LinkedImageGraphic from)
     :
     base(from) // all is done here, since CopyFrom is virtual!
 {
 }
Ejemplo n.º 7
0
 public LinkedImageGraphic(LinkedImageGraphic from)
     :
     base(from)
 {
 }