Skip to Content
author's profile photo Former Member
Former Member

Access font information of subreport objects?

If I want to programmatically access font information of a subreport element in a report, is there any way to do this - either with the RAS or the older CrystalReports.Engine API? Only TextObjects, FieldObjects, and ParagraphElements seem to have a FontColor attribute, but not SubreportObjects.

To be more exact: I'm trying to access the size of the subreport label's font for an on demand subreport.

Any ideas?

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Aug 20, 2009 at 04:55 PM

    There does not appear to be any way to set a fontcolor on a subreportobject.

    You can set it for:

    SimpleTextObject

    fieldObject

    ParagraphElement

    Paragraph

    TextObject

    FieldHeadingObject

    ParagraphTextElement

    Ludek

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      i too struck with the same issue.

      in case of RAS...

      i want to change the color for subreport name which is appeared as hyperlink with no difference in font and color.

      but in designer the color of the supreport name font automatically get changed once on-demand option is choosen.

      hence i hope there must be a way to get this done.

      regards,

      Padmanaban V

  • author's profile photo Former Member
    Former Member
    Posted on Sep 04, 2009 at 11:07 AM

    hi jhon,

    did you got solution for this?

    please post the code if u got it somewhere.

    thanks,

    Padmanaban V

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.