skip to main content

Controls Reference : WEB-BROWSER : Properties : Font

Font
This property specifies the font that may be used to compute the height and the width of the Web-Browser control. See the Height-In-Cells, Font, Size, and Width-In-Cells properties for further details.
 
Example - Define a web-browser control with a font to control the size
working-storage section.
77 Arial-0v0 handle of font.
screen section.
          03 screen-1-wb-1 Web-Browser
             size 62.2 cells 
             lines 25.6 cells 
             value "http://www.veryant.com"
procedure division.
  initialize wfont-data arial-0v0.
  move 0 to wfont-size.
  move "Arial" to wfont-name.
  set wfont-bold to false.
  set wfont-italic to false.
  set wfont-underline to false.
  set wfont-strikeout to false.
  set wfont-fixed-pitch to false.
  call "w$font" using wfont-get-font arial-0v0 wfont-data.

Copyright (c) 2017 Veryant
Contact us
Please share your comments on this manual or on any
Veryant product documentation with the email button at the top left