|
of_SetFont
|
|
Full name
|
pfc_n_cst_dwsrv_report.of_SetFont
|
Access
|
public
|
Extend of
|
string
|
Return value
|
string
|
Prototype
|
public function string of_SetFont(string,integer,fontfamily,fontpitch,string)
|
Name
|
Datatype
|
lb_Null
|
Boolean
|
public function string of_SetFont (string as_fontface, integer ai_fontsize, fontfamily aff_fontfamily, fontpitch afp_fontpitch, string as_name);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_SetFont
//
// Access: public
//
// Arguments:
// as_FontFace The font to use (i.e. "MS Sans Serif")
// ai_FontSize The point size of the font.
// aff_FontFamily The font family (AnyFont!, Roman!, Swiss!, Modern!,
// Script!, Decorative!)
// afp_FontPitch The pitch of the font (Default!, Fixed!, Variable!)
// as_Name The name of the object to change.
//
// Returns: String
// The output of the Modify command (the error text or "") if True
// was passed for ab_Execute; the text of the Modify command
// to add the object if False was passed.
//
// Description: Change the font of an object in the datawindow.
//
// This function overloads the real of_SetFont to allow parameters
// to be optional.
//
//////////////////////////////////////////////////////////////////////////////
//
// 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.
//
//////////////////////////////////////////////////////////////////////////////
Boolean lb_Null
SetNull(lb_Null)
Return of_SetFont(as_FontFace, ai_FontSize, aff_FontFamily, afp_FontPitch, lb_Null, lb_Null, &
lb_Null, as_Name, "*", True)
end function