Switch to: V11V10V9V8V7V6V5

vreport_preview_zoom()

Declaration

vreport_preview_zoom( 
  vint32  inVReportID,
  [int    inZoom] )

Parameters

Name Description Default Value
inReportID The VReport instance.
inZoom Zoom value.

Description

Set Zoom value for preview to the vReport if inZoom specified and get it otherwise.

Return Values

Return Int value.

Examples

Example 1.

<?php
	$vproject_id = vproject_create( $conn_id, $report_file );
 
	// Get first Report
	$report_id = vproject_make_new_report( $vproject_id, 1, $conn_id, "SELECT * FROM T1" );
 
        vreport_preview_zoom( $report_id, 1 );
 
	vreport_close( $report_id );
	vproject_close( $vproject_id );
?>