WpGetFattrsFromPsz: Difference between revisions
Appearance
Created page with "{{DISPLAYTITLE:wpGetFattrsFromPsz}} This method is specific to Version 3, or higher, of the OS/2 operating system. This instance method returns the font attributes from a PresParam string. ==Syntax== _wpGetFattrsFromPsz(somSelf, pszFont, pFattrs) ==Parameters== ;''somSelf'' (WPFontPalette *) - input :Pointer to the object on which the method is being invoked. :Points to an object of class WPFontPalette. ;''pszFont'' (PSZ) - input :PresParam string. ;''p..." |
(No difference)
|
Latest revision as of 01:47, 17 November 2025
This method is specific to Version 3, or higher, of the OS/2 operating system.
This instance method returns the font attributes from a PresParam string.
Syntax
_wpGetFattrsFromPsz(somSelf, pszFont, pFattrs)
Parameters
- somSelf (WPFontPalette *) - input
- Pointer to the object on which the method is being invoked.
- Points to an object of class WPFontPalette.
- pszFont (PSZ) - input
- PresParam string.
- pFattrs (PFATTRS) - output
- Pointer to the font attribute structure.
Returns
- There is no return value for this method.
How to Override
This method is generally not overridden.
Example Code
#define INCL_WINWORKPLACE #include <os2.h> WPFontPalette *somSelf; /* Pointer to the object on which the method is being invoked. */ PSZ pszFont; /* PresParam string. */ PFATTRS *pFattrs; /* Pointer to the font attribute structure. */ _wpGetFattrsFromPsz(somSelf, pszFont, pFattrs);