Difference between revisions of "HEIGHT"

From QB64 Wiki
Jump to navigation Jump to search
imported>Stylin
(updated layout)
imported>Stylin
(fixed syntax (parenthesis go with the argument))
Line 3: Line 3:


{{PageSyntax}}
{{PageSyntax}}
:<code>''result&'' = {{KW|_HEIGHT}}([{{Parameter|imageHandle&}}])</code>
:<code>''result&'' = {{KW|_HEIGHT}}[({{Parameter|imageHandle&}})]</code>





Revision as of 18:52, 10 March 2010

The _HEIGHT function returns the height of an image.


Syntax

result& = _HEIGHT[(imageHandle&)]


Description

  • If imageHandle& is omitted, it's assumed to be the handle of the current write page.
  • If the image specified by imageHandle& is in text mode, the number of characters per column is returned.
  • If the image specified by imageHandle& is in graphics mode, the number of pixels per column is returned.
  • If imageHandle& is an invalid handle, then an invalid handle is returned.


See also



Navigation:
Keyword Reference - Alphabetical
Keyword Reference - By Usage
Main Wiki Page