Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. RichTextBox ZoomFactor Property

RichTextBox ZoomFactor Property

Scheduled Pinned Locked Moved C#
question
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Mark F
    wrote on last edited by
    #1

    Q #1: I have two buttons to zoom in and zoom out the text size of a RichTextBox. Is it possible to increment/decrement the ZoomFactor by 0.1F each time? Q #2: Does changing the ZoomFactor also change the font size when you save the file as .rtf? Thanks, Mark

    L H 2 Replies Last reply
    0
    • M Mark F

      Q #1: I have two buttons to zoom in and zoom out the text size of a RichTextBox. Is it possible to increment/decrement the ZoomFactor by 0.1F each time? Q #2: Does changing the ZoomFactor also change the font size when you save the file as .rtf? Thanks, Mark

      L Offline
      L Offline
      Luc Pattyn
      wrote on last edited by
      #2

      Hi, Q1. from reading the documentation it is not completely clear, so an experiment may be in order. It says it accepts numbers from 1/64 to 64 That could mean all fractions 1/n and all integers n with 1 <= n <= 64 Q2. I doubt that very much; normally "zoom" indicates a visualization property, not a content property. Try it ! :)

      Luc Pattyn [Forum Guidelines] [My Articles]


      this weeks tips: - make Visual display line numbers: Tools/Options/TextEditor/... - show exceptions with ToString() to see all information - before you ask a question here, search CodeProject, then Google


      M 1 Reply Last reply
      0
      • L Luc Pattyn

        Hi, Q1. from reading the documentation it is not completely clear, so an experiment may be in order. It says it accepts numbers from 1/64 to 64 That could mean all fractions 1/n and all integers n with 1 <= n <= 64 Q2. I doubt that very much; normally "zoom" indicates a visualization property, not a content property. Try it ! :)

        Luc Pattyn [Forum Guidelines] [My Articles]


        this weeks tips: - make Visual display line numbers: Tools/Options/TextEditor/... - show exceptions with ToString() to see all information - before you ask a question here, search CodeProject, then Google


        M Offline
        M Offline
        Mark F
        wrote on last edited by
        #3

        Thanks for the tips. I will have to make a small test form and see what happens. Mark

        1 Reply Last reply
        0
        • M Mark F

          Q #1: I have two buttons to zoom in and zoom out the text size of a RichTextBox. Is it possible to increment/decrement the ZoomFactor by 0.1F each time? Q #2: Does changing the ZoomFactor also change the font size when you save the file as .rtf? Thanks, Mark

          H Offline
          H Offline
          Hessam Jalali
          wrote on last edited by
          #4

          Yes it is Possible No it does not any effect on the saved File

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups