Login Register Wishes Forum About
Language Reference » Misc functions » getWidth
Help topics
Latest updates
2929d  replaceImageMapTitle
2929d  replaceImageMapValues
2929d  createFunctionSerie
2929d  setAbsicssaPosition
2929d  negateValues
  Download as PDF
  Print this page
  Share this page
  Create an account
  Feed the updates!
Google AdSense
getWidth- Return the width of your pChart object

This function returns the width in pixels of your Pchart object. It is used internally by drawing functions.

Calling this function

No parameters are required for this function.

Sample script

 /* Create your pChart object */
 $myPicture = new pImage(700,230);

 /* Return the angle made by this line and the horizontal axis */
 echo $myPicture->getWidth();

This will print 700.
Last updated on 10/20/2009 
by Jean-Damien 
Linked resources
Community comments
  No comments have been posted yet.
© Copyrights
Components used on this web site : Famfamfam icons has been made by Mark James, Rounded corners lite has been coded by Cameron Cooke and Tim Hutchison, SyntaxHighlighter has been written by Alex Gorbatchev. pChart and this web site have been created by Jean-Damien POGOLOTTI. This documentation contains 185 pages and 56 comments. 412 users have registered. This page has been rendered in 0,01 seconds. Wiki revision 1.37.