Showing posts with label height. Show all posts
Showing posts with label height. Show all posts

Thursday, March 22, 2012

Dynamic Page Header Height...

Group,
Does anyone know how to set the height of the Page Header dynamically, it's
not letting me set the Height property of the Page Header to an Expression
[something like = IIf(Globals!PageNumber = 1, 1.5in, 1in)?
Or is there any other way to achieve the following:
I want a certain page header on page 1 and then a different one (shorter in
height) to appear on all subsequent pages without the extra header
whitespace.
Thanks group.As far as I know report header is static - I think it is on the wish list for
the next release. [I saw a post on this from msft - search around & you will
see it]
"Terry Mulvany" wrote:
> Group,
> Does anyone know how to set the height of the Page Header dynamically, it's
> not letting me set the Height property of the Page Header to an Expression
> [something like = IIf(Globals!PageNumber = 1, 1.5in, 1in)?
> Or is there any other way to achieve the following:
> I want a certain page header on page 1 and then a different one (shorter in
> height) to appear on all subsequent pages without the extra header
> whitespace.
> Thanks group.
>
>

Monday, March 19, 2012

Dynamic image size on rdlc report

Hi.

How to set the image size (height and width) dynamically? Size of the image will be obtained from a data field. I tried to edit the source but found no luck:

<TableCell> <ReportItems> <Image Name="img3"> <Sizing>Clip</Sizing> <Source>External</Source> <Style> <BorderStyle> <Default>Solid</Default> </BorderStyle> <BorderColor> <Default>Red</Default> </BorderColor> </Style> <Width>0.12in</Width> <Value>file:///c:\barbetter.bmp</Value> </Image> </ReportItems> </TableCell>

I hope someone can help me with this.. Thanks

Raniel L.

I don't think this can be done unless you're generating the report in XML on the fly.