text screen size

Discussion in 'AutoCAD' started by Bob Quinn, Jan 23, 2004.

  1. Bob Quinn

    Bob Quinn Guest

    Is there any way to control the text screen size when makeing a call to
    textscr ?
    Thank you for your help :)
     
    Bob Quinn, Jan 23, 2004
    #1
  2. Bob Quinn

    R.K. McSwain Guest

    (setq dp (vlax-get (vlax-get (vlax-get-acad-object) "Preferences") "Display"))
    (vlax-put dp "TextFont" "Fixedsys") ;;; Sets font
    (vlax-put dp "TextFontSize" 12) ;;; Sets font size
    (textscr)
     
    R.K. McSwain, Jan 24, 2004
    #2
  3. Bob Quinn

    Bob Quinn Guest

    Thank you for the info, however I am actually trying to control the actual
    vertical and horizontal
    size of the text screen itself. It seems that when this screen is called
    from an autolisp function, that
    it becomes un-sizeable and therefore I have to make sure all my lines of
    text fit in it when it pops up.
    Any thoughts?

    (setq dp (vlax-get (vlax-get (vlax-get-acad-object) "Preferences")
    "Display"))
    (vlax-put dp "TextFont" "Fixedsys") ;;; Sets font
    (vlax-put dp "TextFontSize" 12) ;;; Sets font size
    (textscr)
     
    Bob Quinn, Jan 24, 2004
    #3
  4. Bob Quinn

    R.K. McSwain Guest

    Sorry, I misread...

    I believe you will have to use some windows API calls to control the actual window size.
     
    R.K. McSwain, Jan 24, 2004
    #4
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.