|
pfc_zoom
|
|
Full name
|
pfc_u_dw.pfc_zoom
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
event integer pfc_zoom()
|
event pfc_zoom;//////////////////////////////////////////////////////////////////////////////
// Event: pfc_zoom
// Arguments: None
// Returns: Integer - Zoom level chosen by the user
// 0 = user cancelled from zoom dialog
// -1 = error
// Description: Zooms the print preview level to the user-specified amount
//////////////////////////////////////////////////////////////////////////////
// Rev. History Version
// 5.0 Initial version
//////////////////////////////////////////////////////////////////////////////
// Copyright © 1996-1999 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 IsValid (inv_PrintPreview) then
if inv_PrintPreview.of_GetEnabled() then
return inv_PrintPreview.of_SetZoom()
end if
end if
return FAILURE
end event