I have been using CorelDraw for years, and I ashamedly realized I don't know how to make a dot..[:S].. It is simply to mark the center of a circle. Since I need it very exact on a printout, I need a single point--not a little circle. The circles requiring the dot to mark center are usually in hairline. I imagine there must be a very easy way to do this.......
Thanks very much for any help!
Janet
I wouldn't use a font as the dot unless you convert it to curves before centering. If you leave it as text it will not be at true center see below. I'd suggest a macro. See code below this image as recorded with X3. May not work in X7.
Sub DotAtCenter() Dim OrigSelection As ShapeRange Set OrigSelection = ActiveSelectionRange Dim s1 As Shape Set s1 = ActiveLayer.CreateEllipse2(5.611941, 7.098469, 0.003815, -0.003815, 360#, 360#, False) s1.Fill.ApplyNoFill s1.Outline.SetProperties 0.003, OutlineStyles(0), CreateCMYKColor(45, 45, 45, 100), ArrowHeads(0), ArrowHeads(0), False, False, cdrOutlineButtLineCaps, cdrOutlineMiterLineJoin, 0#, 100, , , 45# s1.Fill.UniformColor.CMYKAssign 45, 45, 45, 100 s1.Outline.SetProperties 0# ActiveDocument.ReferencePoint = cdrCenter s1.SetSize 0.001, 0.001 s1.AlignToShape cdrAlignHCenter, OrigSelection(1), cdrTextAlignBoundingBox s1.AlignToShape cdrAlignVCenter, OrigSelection(1), cdrTextAlignBoundingBoxEnd Sub
I'm afraid I have never used macros, so your post was a bit like Greek to me.s...:-).... It certainly would be helpful for a lot of things to learn how to use macros.
I guess it would be nice to have a keyboard shortcut to a small, solid (filled) circle..... I would have thought a point was something graphics artists would use regularly...
place this file in C:\Program Files\Corel\CorelDRAW Graphics Suite X5\Draw\GMS
restart Corel.
Draw a shape then go tools/visual basic/play
find the DotAtCenter macor and hit run.
You can also assign your own shortcut key/hot key to it.
DotAtCenter.gms
Wow--thanks Myron!
I inserted your gms file in my D:\GRAPHICS\CorelDRAW Graphics Suite X5\Draw\GMS.
I have X5 and thus no tools/visual basic/play.
I went instead to Tools>Macros>Macro Manager but was unable to find DotAtCenter.gms.
Please see screen capture.
Oops, let's try that again.
5824.DotAtCenter.gms
Myron said: Oops, let's try that again. (Please visit the site to view this file)
(Please visit the site to view this file)
Your first link gave me a 13kb file and the second an 11kb file. Could you tell by looking at the screen capture in my last post where I should move it to?
Thanks,
Janet