public Image GrillImage() { Image pic = BackGlassImage(true); if (pic != null) { pic = B2sTools.CropImage(pic, new Rectangle(0, pic.Height - GrillHeight, pic.Width, GrillHeight)); } return(pic); }
public Image BackGlassImage(bool withGrill) { Image pic = B2sTools.StringToImage(getImageXML(getImageTypeToUse())); if (!withGrill && pic != null) { pic = B2sTools.CropImage(pic, new Rectangle(0, 0, pic.Width, pic.Height - GrillHeight)); } return(pic); }