public Image_Properties Clone() { Image_Properties result = (Image_Properties)MemberwiseClone(); result.BackgroundImageLocation = (string)BackgroundImageLocation.Clone(); return(result); }
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); }