cancel
Showing results for 
Search instead for 
Did you mean: 

Access font information of subreport objects?

Former Member
0 Kudos

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?

Accepted Solutions (1)

Accepted Solutions (1)

former_member183750
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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

Answers (1)

Answers (1)

Former Member
0 Kudos

hi jhon,

did you got solution for this?

please post the code if u got it somewhere.

thanks,

Padmanaban V