IMAGE_SIZE

<< Click to Display Table of Contents >>

Navigation:  Scripts (Batch Interface) > Syntax > Statements >

IMAGE_SIZE

Previous pageReturn to chapter overviewNext page

Sets width of netplans and barcharts.

 

image_size=AUTO

image_size=800

image_size=50%

 

AUTO optimizes the best size automatically. The number specifies the size in pixels, you can also code it in percents of the screen width.

In all these cases the image is rendered with 4:3 ratio (the default one - AUTO - is 1600:1200 pixels).

 

In case of charts is is also possible to specify two comma-separated values, one for width and another one for height. This allows you to control the image size ratio, which is useful mainly in case of long line or bar charts. This ratio is ignored in case of netplans, as their ratio is fixed.

The following example creates HTML file and appends a line chart (stored with name TEST in the client) in PNG format with width 800px and height 200px.

 

logon=c:\a\bif\logon.lgn

selection_file="c:\bif\selection.sel"

create_htm_file="c:\bif\out\out.html"

line_chart="TEST"

image_size=800,200

create_png_file=""