Microsoft KB Archive/45482

= DrawPicture,,corner%(0) Correction for QuickBASIC Page 479 =

Article ID: 45482

Article Last Modified on 11/21/2006



This article was previously published under Q45482



SUMMARY
The example for the DrawPicture statement is incorrect on Page 479 of &quot;Microsoft QuickBASIC for Apple Macintosh: Language Reference.&quot;

If you pass DrawPicture the handle and corner point, you must have two commas separating them. Also, the second sentence describing DrawPicture needs rewording. DrawPicture on Page 479 should be corrected as follows: DrawPicture H& [ ,rec%(0) | ,,corner%(0) ]

Draws the picture with handle H&, scaling it to fit in rec%. To draw the picture at a given upper-left point, use the corner% argument, where corner%(0) is a two-element (or point) array, as in the example below:

DrawPicture H&amp;,,corner%(0) To draw the picture in its original size and position, use the DrawPicture with only handle H&.



MORE INFORMATION
You can draw a picture by passing DrawPicture any of the following three combinations of arguments:

  Pass only the handle: DrawPicture H&                         Pass the handle and the scaling rectangle (determined by two points): DrawPicture H&,rec%(0)   Pass the handle and the upper-left corner point to position the picture: DrawPicture H&,,corner%(0) 

Additional query words: MQuickB

Keywords: KB45482

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.