|
of_getzoom
|
|
Full name
|
pfc_n_cst_dwsrv_printpreview.of_getzoom
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_getzoom()
|
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(idw_requestor) Or not IsValid (idw_requestor) then
return -1
end if
ls_rc = idw_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
|
systemfunctions.integer |
systemfunctions
|
systemfunctions.isnull |
systemfunctions
|
systemfunctions.isnumber |
systemfunctions
|
systemfunctions.isvalid |
systemfunctions
|