Results 1 to 8 of 8

Thread: Text That Fills a Rectangle Shape in CorelDRAW x6

  1. #1
    Join Date
    Mar 2009
    Location
    Los Angeles, CA
    Posts
    61

    Text That Fills a Rectangle Shape in CorelDRAW x6

    I am trying to add text to a rectangular shape box that the will automatically fill the box up from top to bottom and side to side. I am inserting names into the box -the names vary from 3 characters to 8 characters and I have a limited area to engrave (which is the size of my rectangular box - I have use a box as a boarder and currently manually fit it into the box).
    I have used the envelope tool, but did not want to use the print merge feature, hope someone knows of another way.

    I included a jpg to help clarify what I am trying to do.

    I am working in Coreldraw x6
    Attached Images Attached Images
    Epilog Helix 45 Watt
    Corel Draw X6

  2. #2
    I am not at my workstation right now, but if you type your name and it is selected Corel will tell you the width and the height of the selection. Just type the dimensions you need. Make sure the little lock next to the dimension is open, just click on it if it is not (It will toggle between open and closed). If it is open it will allow you change the dimension independently. If closed, the selection will be kept proportional to the dimension you changed. You may also need to "convert to curves".

    Hope that helps.
    Real Mercier
    Epilog Mini 24 - 45 W
    Roland PNC1000
    CorelDraw X3
    FlexiSign 7.6

  3. #3
    I'm not aware of a truly automatic way of doing it, but you can certainly create a macro that will do it with a single click or keystroke (yeah, I know, now that I've "discovered" writing macros in CorelDraw it's like the saying about give a kid a hammer and everything starts looking like a nail...)

  4. #4
    Join Date
    Mar 2009
    Location
    Los Angeles, CA
    Posts
    61
    Real,
    That is what I currently do. I manually adjust the size of the text. I am hoping to automatic have it stretch/shrink the text to fit a specific size box.
    Epilog Helix 45 Watt
    Corel Draw X6

  5. #5
    It'd be trivial to work up a (La)TeX macro/document class to do this, then one could open the .pdf in CorelDRAW

  6. #6
    Sub FitToBox()
    ActiveDocument.ReferencePoint = cdrCenter ' resize about center of selection
    If ActiveShape Is Nothing Then Exit Sub ' bail out if nothing selected
    ActiveShape.SetSize 0.71, 0.245 ' resize the selected (text) to desired width and height
    End Sub

    Be sure to have the text selected and run this macro (you can set a hot key for it or create a menu button to make it easier to run).

  7. #7
    Join Date
    Nov 2007
    Location
    Glenelg, MD
    Posts
    12,256
    Blog Entries
    1
    I would give you a gold star if I could Glen... no idea if that code works directly, but it looks reasonable enough to tweak for his specific case if it doesn't.
    Hi-Tec Designs, LLC -- Owner (and self-proclaimed LED guru )

    Trotec 80W Speedy 300 laser w/everything
    CAMaster Stinger CNC (25" x 36" x 5")
    USCutter 24" LaserPoint Vinyl Cutter
    Jet JWBS-18QT-3 18", 3HP bandsaw
    Robust Beauty 25"x52" wood lathe w/everything
    Jet BD-920W 9"x20" metal lathe
    Delta 18-900L 18" drill press

    Flame Polisher (ooooh, FIRE!)
    Freeware: InkScape, Paint.NET, DoubleCAD XT
    Paidware: Wacom Intuos4 (Large), CorelDRAW X5

  8. #8
    ooooo gold staaaaaar!! (Back when I taught computer engineering at the USAF Academy, I used my then-young daughter's rubber stamp collection on graded labs and exams; you would be surprised how much more willing the students were to make a little extra effort to earn unicorn or frog stamps than run-of-the-mill numerical or letter grades!)

    Of course it works, would you post code without trying it first? ;^)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •