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
 Printing Image including Labels, Memos, Etc...

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
Tusty Posted - Feb 12 2013 : 07:59:24
Is it Possible to Print the Image inlcuding the Memos on it?
7   L A T E S T    R E P L I E S    (Newest First)
w2m Posted - Feb 18 2013 : 08:06:40
I do not think it will work with Black & White.
You could try:

1. convert the image to 24-bit
2. call ImageEnView1.Proc.ConvertToGray
3. add the colored memo object
4. use my code to do the preview

William Miller
Email: w2m@frontiernet.net
EBook: http://www.imageen.com/ebook/
Apprehend: http://www.frontiernet.net/~w2m/index.html
Tusty Posted - Feb 17 2013 : 23:50:39
There is no Image Loaded...
The Memo is putted in with the following COde..



THISFORM.img1.SetObjectProperty(-1,"SOFTSHADOW",1)
THISFORM.img1.SetObjectProperty(-1,"BRUSHSTYLE",0)
THISFORM.img1.SetObjectProperty(-1,"BRUSHCOLOR","255,255,0")
THISFORM.img1.SetObjectProperty(-1,"MEMOBORDERCOLOR","105,105,105")
THISFORM.img1.SetObjectProperty(-1,"MEMOMARGINTOP","2")
THISFORM.img1.SetObjectProperty(-1,"MEMOMARGINLEFT","2")
THISFORM.img1.SetObjectProperty(-1,"TEXTAUTOSIZE","1")
THISFORM.img1.SetObjectProperty(-1,"FONTHEIGHT","50")
THISFORM.img1.SetObjectProperty(-1,"FONTQUALITY","1")
THISFORM.img1.SetObjectProperty(-1,"MOVEABLE","1")
THISFORM.img1.SetObjectProperty(-1,"SELECTABLE","1")
THISFORM.img1.setmouseInteractProperty("PUTMEMO","1")


EDIT:

Ohhh now i know what you mean...
It's an Black/White tiff...
If i load a colored png, the memos are okay in Print...


So how can i fix that to a black/white tiff?
xequte Posted - Feb 16 2013 : 13:02:05
It sounds like a palette issue. Have you loaded a monochrome image into the background, for example?



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Tusty Posted - Feb 13 2013 : 23:34:42
Hi,

No, the Printview shows only the black square to...

Do you want some Screenshots?
xequte Posted - Feb 13 2013 : 01:14:39
Hi

Does it look correct in the Print Preview?



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Tusty Posted - Feb 13 2013 : 00:06:30
Hey... THX 4 your Quick Answer...
It Works, but not in that way i need.

The Memo i have put into the Picture is a Yellow Memo with Text in it. Like a Notice /Post It...

After Clicking on Print,the meme is Printed out as a Black square.
The Text isnt readable...
w2m Posted - Feb 12 2013 : 08:18:09
You have to temporarily merge the objects into the background image then print. After printing restore the objects:

procedure TForm1.Print1Click(Sender: TObject);
begin
  // Save the image with vectorial objects
  ImageEnVect1.Proc.SaveUndo;
  // Merge vectorial objects with the background image
  ImageEnVect1.CopyObjectsToBack(True);
  // Do print preview
  ImageEnVect1.IO.DoPrintPreviewDialog();
  // Restore objects from the merge
  ImageEnVectPreview1.Proc.Undo;
end;

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