ReportBuilder. Centering image in Report


hello everybody,

i need in centering image in report.

thanks


http://firebird-vbnet.blogspot.com/


hi giovannigiorgio,

according description want know how centering image in reportbuilder, right?

before centering image, should clear of position related properties, after have done proper setting of them can able make image display in center of page.

for physical page renderers, it's important keep in mind concept of usable area.  usable area amount of space left on page report drawn after reserving space margins, headers , footers, , column spacing (for multi-column reports).

horizontal usable area:

x = page.width - (left margin + right margin)

vertical usable area:

y = page.height - (top margin + bottom margin + header height + footer height)

i suppose there image in page. please following steps below check related properties of size , center image.

  1. right click on report area , select report properties
  2. make note of values page width(8.5), page height(11in), left margin(1in), right margin(1in),top margin(1in),bottom margin(1in)
  3. close , go design surface , in properties window, select body
  4. click + symbol expand size node and  setting below:
    body width  <=page width- left margin -right margin(body width <=6.5)
    body height  <=page height- top margin -bottom margin-header height-footerheight(body height <=11-1-1-1-1=7)
  5. right click body area insert image , in image properties window select size , check “fit size”
    image fit size of image item, can set position(location , size) properties determine display of image now
  6. in image properties, set value position(location , size) (according best resolution of image set values of location):
    location left = (body width – width of image) /2    (location left =(6.5-4.5)/2)
    location top =(body height – height of image) /2  (location top =(7-5) /2)

if page both include image , table, should consider size of table(column spacing in width , row spacing in height).

article about  pagination in reporting services reference:
http://msdn.microsoft.com/en-us/library/dd255278.aspx

if problem still exists, please feel free ask

regards
vicky liu



SQL Server  >  SQL Server Reporting Services, Power View



Comments

Popular posts from this blog

Conditional formatting a graph vertical axis in SSRS 2012 charts

Register with Power BI failed

SQL server replication error Cannot find the dbo or user defined function........