Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8985735
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T21:23:28+00:00 2026-06-15T21:23:28+00:00

Using WPF CrystalReportsViewer and the CrystalDecisions.ReportAppServer.ClientDoc.ISCDReportClientDocument I’m able to dynamically add an image to

  • 0

Using WPF CrystalReportsViewer and the CrystalDecisions.ReportAppServer.ClientDoc.ISCDReportClientDocument I’m able to dynamically add an image to ALL pages in the rpt by calling ImportPicture on the appropriate section. However, I want to add a different image to each page.

I’ve figured out how many pages need images (see How do I get the number of rendered pages from a CrystalReportsViewer?), but have not been able to get a different image on each page.

Is there a data model of the “as rendered” report that I can access? Can I add a different image per page?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T21:23:29+00:00Added an answer on June 15, 2026 at 9:23 pm

    Add all the images to the desired section, then EnableSuppress and set the formula to hide when its not on the desired page.

    CrystalDecisions.ReportAppServer.ReportDefModel.PictureObject pic=ctl.ReportObjectController.ImportPicture(tempImagePath, s, 0, 0);
                            if (pic != null)
                            {
                                var picNew = pic.Clone();
                                picNew.Format.EnableSuppress = true;
                                CrystalDecisions.ReportAppServer.ReportDefModel.ConditionFormula f = roNew.Format.ConditionFormulas[CrObjectFormatConditionFormulaTypeEnum.crObjectFormatConditionFormulaTypeEnableSuppress];
                                if (f != null)
                                {
                                    f.Syntax = CrFormulaSyntaxEnum.crFormulaSyntaxCrystal;
                                    f.Text = string.Format("PageNumber <> {0}", ri.PageNumber);
    
                                }
                                ctl.ReportObjectController.Modify(pic, picNew);
                            }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using wpf toolkit's datagrid i want to marge a row for all
I'm new to using WPF and GDI, and I'm having trouble displaying an image.
I'm using WPF and C#. I want to be able to launch a browser
I am using WPF to display the image in the clipboard. This works fine
Anyone using WPF for real LOB applications? We have all seen the clever demos
I am using WPF WebBrowser control. How can I detect all outgoing Http GET
I'm using WPF/.NET 4 and when I add the VirtualizingStackPanel.VirtualizationMode=Recycling property to my ListBoxes,
I am using WPF and an MVVM pattern. All the comboboxes that are bound
I am not familiar at all with using WPF and the application that I
(Using WPF) In a small application that I wrote, I am using some count-down

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.