ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 PrintPreviewParams.Position

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
klausdoege Posted - Aug 21 2020 : 08:28:41
I want to set the position before calling the dialog.
Everything works, (ppTopLeft, ppTopRight, ppLeft, ppCenter, ppRight, ppBottomLeft, ppBottom, ppBottomRight) just not ppTop.
What can I do.
is OK
ImageEnVect.IO.PrintPreviewParams.Position := TIOPrintPreviewPosition(ppLeft);
Don't work
ImageEnVect.IO.PrintPreviewParams.Position := TIOPrintPreviewPosition(ppTop);
Why ???
I can change it in the DoPrintPreviewDialog(iedtMaxi) OK,
but i want to put it before.

Klaus
www.klausdoege.de
2   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Aug 21 2020 : 15:51:29
Hi Klaus

Change it to:

ImageEnVect.IO.PrintPreviewParams.Position := ppTop;

And you will probably get an error about mismatched types.

Presumably ppTop is defined in your application elsewhere (e.g. by another component). If so, you can use:

ImageEnVect.IO.PrintPreviewParams.Position := imageenio.ppTop;


Nigel
Xequte Software
www.imageen.com
klausdoege Posted - Aug 21 2020 : 08:42:08
Hi,
when i use
ImageEnVect.IO.PrintPreviewParams.Position := TIOPrintPreviewPosition(1);
then it wok's fine ?


Klaus
www.klausdoege.de