![]() |
#1
|
|||
|
|||
![]()
Hi there macro monsters. I'd like to know if there is a way to allow off-center positioning of the thumbnail array where you could set a .5" offset at the left edge and 2" offset at the right edge?
Basically I am looking for a left and right margin setting for what I want. Thanks you for your time. -Greg |
#2
|
|||
|
|||
![]()
Is no one answering because they don't know or just don't have time to reply?
![]() -Greg |
#3
|
||||
|
||||
![]()
Sorry.
I've been pretty busy..TGIF. Margins in Alex's macro are used as a calculation for how many thumbnails will fit. The easiest way to do it, without re-writing the advanced code he uses would be to use Code:
ActiveDocument.ReferencePoint = cdrBottomLeft ActivePage.Shapes.All.SetPosition x, y You could even simply use Code:
ActivePage.Shapes.All.Move x, y I think this is what your trying to do. l'll have to do some digging as to where to put the small code addition but it's time for dinner...! -John |
#4
|
||||
|
||||
![]()
Ok.
If you want to try that method I decribed above here's were I think you can add the code. I didn't test it yet. Find it in the main form. Code:
If nPageCount < nPageCount2 Then For n = nPageCount2 To nPageCount + 1 Step -1 ActiveDocument.Pages(n).Delete Next n End If nx = nx + 1 nCurrent = nCurrent + 1 If nx >= CountX Then nx = 0 ny = ny + 1 If ny >= CountY Then ny = 0 If nCurrent < nCount Then 'enter code here begin ----------------- 'enter code here end ----------------- ActiveDocument.AddPages 1 End If End If End If Next f bProcessing = False lblProgress.Caption = "" cmAbort.Visible = False cmOK.Visible = True cmCancel.Visible = True End Sub Private Sub UserForm_QueryClose(Cancel As Integer, CloseMode As Integer) If bProcessing Then bAborted = True End If End Sub |
#5
|
|||
|
|||
![]()
Okay...will try this. Thanks much John.
![]() |
#6
|
|||
|
|||
![]()
While I'm working on the changes to the thumbnailer....I'd like to assign a object ID to each photo that is imported like the page numberer does. This way I can make a "Clear" button that will wipe out all of the imported photos so the user can tweak their settings and try again if they aren't happy with the first try.
I think I might need something like this planted somewhere in the code: Code:
strLabelName = "thumbNail" Private Sub cmdClear_Click() Call DeleteLabels("thumbNail") End Sub |
#7
|
|||
|
|||
![]() Quote:
|
#8
|
||||
|
||||
![]() Quote:
-John |
#9
|
|||
|
|||
![]() Quote:
-Greg |
#10
|
||||
|
||||
![]()
Hi.
After creating all of the thumbnails on the page, and before moving to the next page to begin creating more, it should take the entire pages shapes (activepage.shapes.all) and either move them (.move x,y) or set their position (.setposition x,y) Did you test it? -John |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Oberon Thumbnailer - remember last folder | gorgo2 | Feature requests/wishlist | 0 | 25-02-2010 17:10 |
New macros: Oberon Object Tiler & Oberon Color Replacer | Alex | Site News | 1 | 06-11-2009 19:49 |
Create Rectangle-Shape with positioning | WernerHo | CorelDRAW/Corel DESIGNER VBA | 2 | 06-02-2008 03:40 |
Positioning Cross | admold | Macros/Add-ons | 0 | 03-01-2008 02:41 |
Problem with positioning a duplicate | knowbodynow | CorelDRAW/Corel DESIGNER VBA | 3 | 05-05-2007 09:09 |