of_getzoom


pfcdwsrv.pbl   >   pfc_n_cst_dssrv_printpreview   >   of_getzoom   

Full name pfc_n_cst_dssrv_printpreview.of_getzoom
Access public
Extend of integer
Return value integer
Prototype public function integer of_getzoom()

Name Datatype
No Data

Name Datatype
li_rc integer
ls_rc string

public function integer of_getzoom ();//////////////////////////////////////////////////////////////////////////////
//
//	Function:  of_GetZoom
//
//	Access:  public
//
//	Arguments:  none
//
//	Returns:  integer
//	 the current zoom level
//	-1 = error
//
//	Description:  Returns the current zoom factor
//
//////////////////////////////////////////////////////////////////////////////
//
//	Revision History
//
//	Version
//	5.0   Initial version
//
//////////////////////////////////////////////////////////////////////////////
//
//	Copyright © 1996-1997 Sybase, Inc. and its subsidiaries.  All rights reserved.
//	Any distribution of the PowerBuilder Foundation Classes (PFC)
//	source code by other than Sybase, Inc. and its subsidiaries is prohibited.
//
//////////////////////////////////////////////////////////////////////////////

string		ls_rc
integer	li_rc = -1

if IsNull(ids_requestor) Or not IsValid (ids_requestor) then
	return -1
end if

ls_rc = ids_requestor.object.datawindow.print.preview.zoom
if IsNumber (ls_rc) then
	li_rc = Integer (ls_rc)
end if
return li_rc
end function

     
Name Owner
pfc_n_cst_dssrv_printpreview.of_setzoom pfc_n_cst_dssrv_printpreview

     
Name Owner
systemfunctions.integer systemfunctions
systemfunctions.isnull systemfunctions
systemfunctions.isnumber systemfunctions
systemfunctions.isvalid systemfunctions

     
Full name
No Data

     
Name Scope
No Data