|
of_setzoom
|
|
Full name
|
pfc_n_cst_dssrv_printpreview.of_setzoom
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_setzoom(integer)
|
public function integer of_setzoom (integer ai_zoom);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_SetZoom
//
// Access: public
//
// Arguments:
// ai_zoom Zoom level
//
// Returns: integer
// 1 = success
// -1 = error
//
// Description: Sets the zoom level of print preview
//
//////////////////////////////////////////////////////////////////////////////
//
// 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.
//
//////////////////////////////////////////////////////////////////////////////
if IsNull(ids_requestor) Or not IsValid (ids_requestor) then
return -1
end if
if IsNull(ai_zoom) then
return -1
end if
ids_requestor.object.datawindow.print.preview.zoom = ai_zoom
return 1
end function
Name
|
Owner
|
systemfunctions.isnull |
systemfunctions
|
systemfunctions.isvalid |
systemfunctions
|