【问题标题】:Page space on RDL fileRDL 文件上的页面空间
【发布时间】:2015-05-26 09:12:35
【问题描述】:

我有一个 rdl 文件。在文件上,有一些控件和动态字段,还有静态内容。

当我想打印为 pdf 或 word 文件时,视图不正确。所有页面之间有一个空格页面。我的总页数是 4,但空间需要 8 页。同样在word文件上,我可以看到我页面的一半。宽度有问题。我不知道 Reporting Services 的更多信息。

这里是示例设计代码:

<?xml version="1.0" encoding="utf-8"?>
<Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
<Body>
 <Image Name="Image1">
    <Textbox Name="textbox30">
        <CanGrow>true</CanGrow>
        <KeepTogether>true</KeepTogether>
        <Paragraphs>
          <Paragraph>
            <TextRuns>
              <TextRun>
                <Value>İmza : </Value>
                <Style>
                  <FontFamily>Arial Narrow</FontFamily>
                  <FontSize>12pt</FontSize>
                  <FontWeight>Bold</FontWeight>
                  <Color>#595959</Color>
                </Style>
              </TextRun>
            </TextRuns>
            <Style />
          </Paragraph>
        </Paragraphs>
        <Top>82.77842cm</Top>
        <Left>14.80716cm</Left>
        <Height>0.6cm</Height>
        <Width>3.17147cm</Width>
        <Style>
          <PaddingLeft>2pt</PaddingLeft>
          <PaddingRight>2pt</PaddingRight>
          <PaddingTop>2pt</PaddingTop>
          <PaddingBottom>2pt</PaddingBottom>
        </Style>
      </Textbox>
        <Source>Embedded</Source>
        <Value>imza</Value>
        <Sizing>FitProportional</Sizing>
        <Top>83.44898cm</Top>
        <Left>0.75225cm</Left>
        <Height>1.5cm</Height>
        <Width>4.94628cm</Width>
        <ZIndex>24</ZIndex>
        <Style>
          <Border>
            <Style>None</Style>
          </Border>
        </Style>
      </Image>
</Body>
 <Width>22.52757cm</Width>
 <Page>...</Page>
   <AutoRefresh>0</AutoRefresh>
   <DataSources>...</DataSources>
   <DataSets>...</DataSets>
   <ReportParameters>...</ReportParameters>
   <EmbeddedImages>...</EmbeddedImages>
   <Language>en-US</Language>
  <ConsumeContainerWhitespace>false</ConsumeContainerWhitespace>
  <rd:ReportUnitType>Cm</rd:ReportUnitType>
  <rd:ReportID>0d2bcc46-f6d9-4a4b-b187-6092253641af</rd:ReportID>
</Report>

我需要你的帮助。

【问题讨论】:

    标签: asp.net reporting-services reportingservices-2005 rdl


    【解决方案1】:

    您的问题与报告页面大小有关。请转到报告属性,更改页面高度和宽度。还要注意边距,它会影响打印布局中的报表项目位置。请参阅下面链接中的最后一个提示:

    http://www.mssqltips.com/sqlservertip/3023/sql-server-reporting-services-tips-and-tricks-to-improve-the-end-user-experience/

    【讨论】:

      猜你喜欢
      • 2018-06-10
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多