Fr3设置图片打印
见 fr3的文件内容,为xml
<?xml version="1.0" encoding="utf-8"?> <TfrxReport Version="5.4.6" DotMatrixReport="False" IniFile="\Software\Fast Reports" PreviewOptions.Buttons="4095" PreviewOptions.Zoom="1" PrintOptions.Printer="Default" PrintOptions.PrintOnSheet="0" ReportOptions.CreateDate="43627.3653021875" ReportOptions.Description.Text="" ReportOptions.LastChange="43627.7002244213" ScriptLanguage="PascalScript" ScriptText.Text="begin end."> <Datasets> <item DataSetName="adoq_Print"/> </Datasets> <TfrxDataPage Name="Data" Height="1000" Left="0" Top="0" Width="1000"/> <TfrxReportPage Name="Page1" Orientation="poLandscape" PaperWidth="297" PaperHeight="210" PaperSize="9" LeftMargin="10" RightMargin="10" TopMargin="10" BottomMargin="10" ColumnWidth="0" ColumnPositions.Text="" HGuides.Text="" VGuides.Text=""> <TfrxMasterData Name="Band3" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="1028.788066" Left="0" Top="18.89765" Width="1046.92981" Columns="1" ColumnWidth="200" ColumnGap="20" DataSetName="adoq_Print" RowCount="0" Stretched="True"> <TfrxPictureView Name="Picture1" Left="50.267749" Top="92.976438" Width="938.835252" Height="565.039735" DataField="LocImage" DataSetName="adoq_Print" Frame.Color="12632256" Frame.Typ="15" Frame.Width="2" HightQuality="False" Transparent="False" TransparentColor="16777215"/> </TfrxMasterData> </TfrxReportPage> </TfrxReport>
留意字符: DataField 和 DataSetName