GrapeCity ActiveReports for .NET 14.0J
ResourceLocator プロパティ (PageReport)
使用例 

GrapeCity.ActiveReports アセンブリ > GrapeCity.ActiveReports 名前空間 > PageReport クラス : ResourceLocator プロパティ
レポートのリソースを解決するオブジェクトを取得します。
シンタックス
'宣言
 
Public Property ResourceLocator As GrapeCity.ActiveReports.ResourceLocator
public GrapeCity.ActiveReports.ResourceLocator ResourceLocator {get; set;}
使用例
Private Sub ShowReport()
	Dim reportData As Stream = [GetType]().Assembly.GetManifestResourceStream("GrapeCity.ActiveReports.Samples.CustomResourceLocator.DemoReport.rdlx")
	reportData.Position = 0
	Dim reader As New StreamReader(reportData)
	Dim def As New PageReport(reader)
	def.ResourceLocator = New MyPicturesLocator()
	Dim runtime As New PageDocument(def)
	runtime.Parameters("PictureName").CurrentValue = listView.SelectedItems(0).Text
	runtime.Parameters("MimeType").CurrentValue = String.Format("image/{0}", listView.SelectedItems(0).Tag)
End Sub
private void ShowReport()
{
    Stream reportData = GetType().Assembly.GetManifestResourceStream(
            "GrapeCity.ActiveReports.Samples.CustomResourceLocator.DemoReport.rdlx");
    reportData.Position = 0;
    StreamReader reader = new StreamReader(reportData);
    PageReport def = new PageReport(reader);
    def.ResourceLocator = new MyPicturesLocator();
    PageDocument runtime = new PageDocument(def);
    runtime.Parameters["PictureName"].CurrentValue = listView.SelectedItems[0].Text;
    runtime.Parameters["MimeType"].CurrentValue = string.Format("image/{0}", listView.SelectedItems[0].Tag);
}
参照

PageReport クラス
PageReport メンバ