of_AddPicture


pfcdwsrv.pbl   >   pfc_n_cst_dssrv_report   >   of_AddPicture   

Full name pfc_n_cst_dssrv_report.of_AddPicture
Access public
Extend of string
Return value string
Prototype public function string of_AddPicture(string,string,alignment,vtextalign,border)

Name Datatype
No Data

Name Datatype
li_X Integer
li_Y Integer

public function string of_AddPicture (string as_filename, string as_band, alignment aal_halign, vtextalign avta_valign, border abo_border);//////////////////////////////////////////////////////////////////////////////
//
//	Function:  of_AddPicture
//
//	Access:  public
//
//	Arguments:
//	as_FileName				The name of the BMP file.
//	as_Band					The band to add the picture to.
//	aal_HAlign					The horizontal position of the object (Left!, Right!, Center!).
//	avta_VAlign				The vertical position of the object (Bottom!, Top!, VCenter!).
//	abo_Border				The border to place around the object added (NoBorder!, 
//									ShadowBox!, Box!, ResizeBorder!, Underline!, Lowered!, 
//									Raised!).
//
//	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 picture object to any band of a datawindow.  Existing objects
//						will be shifted to make room for the picture, unless aal_Halign and
//						avta_VAlign are both "center".  In this case, the picture will overlay
//						the existing objects.
//
//						This function overloads the real of_AddPicture, wich 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_AddPicture(as_FileName, as_Band, aal_HAlign, avta_VAlign, li_X, li_Y, &
								abo_Border, True)

end function

     
Name Owner
No Data

     
Name Owner
pfc_n_cst_dssrv_report.of_AddPicture pfc_n_cst_dssrv_report

     
Full name
No Data

     
Name Scope
No Data