背景图片在页面中重复的时间为何以及如何防止这种情况? [英] Background image repeated more time in page why and how to prevent that ?

查看:89
本文介绍了背景图片在页面中重复的时间为何以及如何防止这种情况?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用vs2015 Windows窗体

I work in vs2015 windows form

我使用Microsoft Report将徽标显示为背景

I using Microsoft Report to  display logo as background

但有问题的徽标水印会显示更多时间,尽管backgroundrepeat会默认设置

but problem logo water mark display more time although backgroundrepeat default  

如下图

 所以为什么上述徽标会重复更多时间

我将如何做

1-将参数创建为 ImageBackground作为文本

1- create parameter as ImageBackground as text

2-加载表单

 ReportParameter rpt6 = new ReportParameter("ImageBackground", filepath3);
            this.reportViewer1.LocalReport.SetParameters(new ReportParameter[] {rpt6});

在报告rdlc中,我将backgroundimage的值设置为

in report rdlc i set value of backgroundimage as 

外部

value:= Parameters!ImageBackground.Value

value : =Parameters!ImageBackground.Value

那是什么问题?

为什么重复图像

推荐答案

我认为您需要设置 BackgroundRepeat属性

这篇关于背景图片在页面中重复的时间为何以及如何防止这种情况?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆