ovi_GetSetFont


ovi_GetSetFont(getSet;overlayRef;postScriptFontName;fontSize;drawingMode) <- errorCode
Parameter Type Description
-> getSet Integer Get (0) or set (1) the parameter
-> overlayRef Long Integer Overlay window reference
<-> postScriptFontName String Font name (case sensitive) of a postscript font
<-> fontSize Integer Font size to use
<-> drawingMode Long Integer Drawing mode
<- errorCode Long Integer Error Code (0 = no error)


overlayRef is a reference to an overlay window returned by ovi_NewWindow.

If getSet is 0 (constant kovi_GET), the routine returns the different value. Else, if getSet is 1 (constant kovi_SET), the routine sets the values.

postSriptFontName is the name of a post script font. BEWARE: the font name is case and diacritical sensitive. If, after having created a window and set the appropriate parameter you don’t see the text in the window, you should check the font name. As an example, using "Times" is valid, but "times" is not ("t" instead of "T").

drawingMode can have the following values:

Usually, the mode 2 is used.