MetafileHeader::GetBounds method (gdiplusmetaheader.h)

The MetafileHeader::GetBounds method gets the bounding rectangle for the associated metafile.

Syntax

void GetBounds(
  [out] Rect *rect
);

Parameters

[out] rect

Type: Rect*

Pointer to a Rect object that receives the bounding rectangle.

Return value

None

Requirements

Requirement Value
Minimum supported client Windows XP, Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header gdiplusmetaheader.h (include Gdiplus.h)
Library Gdiplus.lib
DLL Gdiplus.dll

See also

GetMetafileHeader

Loading and Displaying Metafiles

Metafile

MetafileHeader

Metafiles

Rect