GetAspectRatioFilterEx function
The GetAspectRatioFilterEx function retrieves the setting for the current aspect-ratio filter.
Syntax
BOOL GetAspectRatioFilterEx( _In_ HDC hdc, _Out_ LPSIZE lpAspectRatio );
Parameters
- hdc [in]
-
Handle to a device context.
- lpAspectRatio [out]
-
Pointer to a SIZE structure that receives the current aspect-ratio filter.
Return value
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
Remarks
The aspect ratio is the ratio formed by the width and height of a pixel on a specified device.
The system provides a special filter, the aspect-ratio filter, to select fonts that were designed for a particular device. An application can specify that the system should only retrieve fonts matching the specified aspect ratio by calling the SetMapperFlags function.
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also