Author |
Topic |
|
Tusty
Germany
4 Posts |
Posted - Feb 12 2013 : 07:59:24
|
Is it Possible to Print the Image inlcuding the Memos on it?
|
|
w2m
USA
1990 Posts |
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 |
|
|
Tusty
Germany
4 Posts |
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...
|
|
|
xequte
38616 Posts |
|
Tusty
Germany
4 Posts |
Posted - Feb 13 2013 : 23:34:42
|
Hi,
No, the Printview shows only the black square to...
Do you want some Screenshots? |
|
|
xequte
38616 Posts |
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
Germany
4 Posts |
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? |
|
|
w2m
USA
1990 Posts |
|
|
Topic |
|
|
|