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
 PSD+Photo How to print priview and print

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
Logo Posted - Jan 07 2013 : 04:03:28
Hi.

I downloaded the PSD file and add photo.

Some elements of the PSD beyond the borders of the white frame.

How to preview and print all the objects within the white frame?



Logo
2   L A T E S T    R E P L I E S    (Newest First)
Logo Posted - Jan 07 2013 : 12:39:46
Thank you!

Logo
w2m Posted - Jan 07 2013 : 06:26:19
PSD can contain multiple layers. If you want load separated layers write:
ImageEnView1.IO.Params.PSD_LoadLayers:=true;
ImageEnView1.IO.LoadFromFilePSD(filename);


If you want load only the merged image (default) write:
ImageEnView1.IO.Params.PSD_LoadLayers:=false;
ImageEnView1.IO.LoadFromFilePSD(filename);


so before a print or print preview call:
ImageEnView1.IO.Params.PSD_LoadLayers:=false;
ImageEnView1.IO.LoadFromFilePSD(filename);
then to restore call
ImageEnView1.IO.Params.PSD_LoadLayers:=true;
ImageEnView1.IO.LoadFromFilePSD(filename);


There are other ways as well...
call ImageEnView1.LayersMergeAll before printing, then call undo to restore the layers or reload the psd file with layers.

William Miller
Email: w2m@frontiernet.net
EBook: http://www.imageen.com/ebook/
Apprehend: http://www.frontiernet.net/~w2m/index.html