Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
CBitmap::SetBitmapDimension
CBitmap                                     Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  CSize SetBitmapDimension( int nWidth, int nHeight );
 
  Parameter   Description
 
  <nWidth>    Specifies the width of the bitmap (in 0.1-millimeter
              units).
 
  <nHeight>   Specifies the height of the bitmap (in 0.1-millimeter
              units).
 
  Remarks
 
  Assigns a width and height to a bitmap in 0.1-millimeter units. These
  values are not used internally by GDI; the GetBitmapDimension function
  can be used to retrieve them.
 
  Return Value
 
  The previous bitmap dimensions. Height is in the cy member variable of
  the CSize object, and width is in the cx member variable.
 
  See Also
 
  CBitmap::GetBitmapDimension, ::SetBitmapDimension
 
 
                                     -♦-