|
of_AddLine
|
|
Full name
|
pfc_n_cst_dssrv_report.of_AddLine
|
Access
|
public
|
Extend of
|
string
|
Return value
|
string
|
Prototype
|
public function string of_AddLine(string,linestyle,integer,integer,integer,integer,integer)
|
Name
|
Datatype
|
lvta_Null
|
VTextAlign
|
public function string of_AddLine (string as_band, linestyle als_style, integer ai_width, integer ai_x1, integer ai_y1, integer ai_x2, integer ai_y2);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_AddLine
//
// Access: public
//
// Arguments:
// as_Band The band to add the line to.
// als_Style The pen style of the line (Continuous!, Dash!, DashDot!,
// DashDotDot!, Dot!).
// ai_Width The pen width of the line.
// ai_X1 The X1 point of the line.
// ai_Y1 The Y1 point of the line.
// ai_X2 The X2 point of the line, if 0 is passed it will
// be set to the width of the datawindow.
// ai_Y2 The Y2 point of the line.
//
// 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 line to any band of a datawindow.
//
// This function overloads the real of_AddLine which is protecred.
//
//////////////////////////////////////////////////////////////////////////////
//
// 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.
//
//////////////////////////////////////////////////////////////////////////////
VTextAlign lvta_Null
SetNull(lvta_Null)
Return of_AddLine(as_Band, als_Style, ai_Width, lvta_Null, ai_X1, ai_Y1, ai_X2, ai_Y2, il_DefaultColor, &
il_DefaultBackColor, True)
end function