|
of_AddText
|
|
Full name
|
pfc_n_cst_dwsrv_report.of_AddText
|
Access
|
public
|
Extend of
|
string
|
Return value
|
string
|
Prototype
|
public function string of_AddText(string,string,alignment,vtextalign)
|
Name
|
Datatype
|
li_X
|
Integer
|
li_Y
|
Integer
|
public function string of_AddText (string as_text, string as_band, alignment aal_halign, vtextalign avta_valign);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_AddText
//
// Access: public
//
// Arguments:
// as_Text The text to be added.
// as_Band The band to add it to.
// aal_HAlign The horizontal alignment of the object.
// avta_VAlign The vertical alignment of the object.
//
// 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: Add a text object to any band of a datawindow.
//
// This function overloads the real of_AddText, which is protected.
//
//////////////////////////////////////////////////////////////////////////////
//
// 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.
//
//////////////////////////////////////////////////////////////////////////////
Integer li_X, li_Y
Return of_AddText(as_Text, as_Band, aal_HAlign, avta_VAlign, li_X, li_Y, ibo_DefaultBorder, False, &
False, False, is_DefaultFontFace, ii_DefaultFontSize, ifc_DefaultCharSet, &
il_DefaultColor, il_DefaultBackColor, True)
end function