Meppy wrote on Mar 1
st, 2013 at 6:57am:
Can you post the XAML of your report and attach the resulting PDF file?
This is xaml code below,
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:r="http://mindfusion.eu/reporting/wpf">
<r:Report x:Key="StudentResult" FontFamily="Arial" FontSize="12">
<r:Page >
<!-- Page Content-->
<r:DataRange DataSource="{Binding StudentSessionInfo}" Location="0%,0" Size="100%,60">
<r:DataRange.ItemTemplate >
<DataTemplate >
<r:ItemContainer >
<r:Label Location="0%,0" Size="83%,20" Background="#F8F488" Text="[ID] [SName]" BorderBrush="#ACE6EF" BorderThickness="1,0,0,0" FontSize="14"/>
<r:Label Location="83%,0" Size="100*,20" Background="#F8F488" Text="Total Point: [TotalPoint@"0.00"]" BorderBrush="#ACE6EF" BorderThickness="0,0,1,0" FontSize="14"/>
<r:DataRange Name="QuesionInfo" Location="0%,20" Size="100%,40">
<r:DataRange.ItemTemplate>
<DataTemplate>
<r:ItemContainer>
<r:Label Location="0%,0" Size="100*,0" AutoSize="True" Background="#B8DAE3" Text="[QNo].[QTitle]" BorderBrush="#ACE6EF" BorderThickness="1,0" FontSize="14" />
<r:DataRange Location="0%,0" Name="OptionInfo" Background="#E9F3F5" Size="100%,20" BorderBrush="#ACE6EF" BorderThickness="1,0" >
<r:DataRange.ItemTemplate>
<DataTemplate>
<r:ItemContainer>
<r:Label Location="3%,0" Size="97%,20" Text="{Binding }"/>
</r:ItemContainer>
</DataTemplate>
</r:DataRange.ItemTemplate>
</r:DataRange>
<r:Label Location="0%,20" Background="#E9F3F5" Size="83%,20" BorderBrush="#ACE6EF" BorderThickness="1,0,0,1" Text="Your Answer: [SReply]" />
<r:Label Location="83%,20" Background="#E9F3F5" Size="100*,20" BorderBrush="#ACE6EF" BorderThickness="0,0,1,1" Foreground="#00806F" Text="[TFFlag] (Gain:[Point@"0.00"])" />
</r:ItemContainer>
</DataTemplate>
</r:DataRange.ItemTemplate>
</r:DataRange>
</r:ItemContainer>
</DataTemplate>
</r:DataRange.ItemTemplate>
</r:DataRange>
<!-- Page Footer -->
<r:Page.FooterTemplate>
<DataTemplate>
<r:ItemContainer Size="100%,30">
<r:Label Size="100%,30" Text="[PageCurrent()] of [PageCount()]" HorizontalAlignment="Center" VerticalAlignment="Center" />
</r:ItemContainer>
</DataTemplate>
</r:Page.FooterTemplate>
</r:Page>
</r:Report>
</ResourceDictionary>
PDF file size exceed the attachment maximum size,so the attachment image is a piece of a paper