Exemple #1
0
        public Image_Properties Clone()
        {
            Image_Properties result = (Image_Properties)MemberwiseClone();

            result.BackgroundImageLocation = (string)BackgroundImageLocation.Clone();

            return(result);
        }
Exemple #2
0
        public Image_Properties GetInherittedPropertiesMerging(Image_Properties Source)
        {
            Image_Properties result = Clone();

            if (InheritBackground)
            {
                result.BackgroundImageFillType     = Source.BackgroundImageFillType;
                result.BackgroundImageLocation     = Source.BackgroundImageLocation;
                result.BackgroundImageLocationType = Source.BackgroundImageLocationType;
            }

            return(result);
        }