internal ShimBackgroundImageInstance(BackgroundImage backgroundImageDef, Microsoft.ReportingServices.ReportRendering.BackgroundImage renderImage, string backgroundRepeat) : base(null) { m_backgroundImageDef = backgroundImageDef; m_renderImage = renderImage; m_backgroundRepeat = StyleTranslator.TranslateBackgroundRepeat(backgroundRepeat, null, m_backgroundImageDef.StyleDef.IsDynamicImageStyle); }
public ShimBackgroundImageInstance(BackgroundImage backgroundImageDef, AspNetCore.ReportingServices.ReportRendering.BackgroundImage renderImage, string backgroundRepeat) : base(null) { this.m_backgroundImageDef = backgroundImageDef; this.m_renderImage = renderImage; this.m_backgroundRepeat = StyleTranslator.TranslateBackgroundRepeat(backgroundRepeat, null, this.m_backgroundImageDef.StyleDef.IsDynamicImageStyle); }
internal static byte Translate(BackgroundRepeatTypes aValue) { switch (aValue) { case BackgroundRepeatTypes.Clip: return(1); case BackgroundRepeatTypes.RepeatX: return(2); case BackgroundRepeatTypes.RepeatY: return(3); default: return(0); } }