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
 Print dialog suggestions

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
PeterPanino Posted - Mar 06 2024 : 12:51:58
ImageEn has very flexible methods to show the PRINT DIALOG, for example:

// Create a temporary TIEBitmap to hold the flattened image
  TempBitmap := TIEBitmap.Create;
  try
    // Copy the current image (and not the layers) to TempBitmap
    TempBitmap.Assign(ImageEnViewPreview.IEBitmap);

    // Draw all layers onto TempBitmap
    ImageEnViewPreview.LayersSaveMergedTo(TempBitmap);

    // Now TempBitmap contains the "flattened" image
    // create an IO object from TempBitmap:
    var PIO := TImageEnIO.CreateFromBitmap(TempBitmap);
    try
      // now print from the IO object:
      PIO.DoPrintPreviewDialog(iedtDialog);
    finally
      PIO.Free;
    end;
  finally
    // Free the temporary bitmap
    TempBitmap.Free;
  end;


Now to the suggestions:

1. The Print dialog should have a SIZE-GRIP in its bottom-right corner. This would make it easier for the user to resize the Print dialog.

2. The Print dialog always opens at a predefined, relatively small size, even if the user has previously resized it. This is frustrating for the user. Please make the Print dialog remember its previous size. It should be possible to programmatically set the size of the Print dialog before displaying it. This would also enable the developer to persistently save and restore the Print dialog's size between sessions.
3   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Mar 08 2024 : 14:36:15
I disagree that it is useful here. If a dialog does not benefit from being sized, like the print dialog, then there is no reason to provide a visual reminder that it can be sized.

Nigel
Xequte Software
www.imageen.com
PeterPanino Posted - Mar 08 2024 : 12:37:54
In my opinion, what we often call "Windows design standards" are just bad habits. If we want to increase our productivity, we need to break these bad habits.
xequte Posted - Mar 06 2024 : 19:14:00
Hi

1. Windows design standards tend not to use grips in these kinds of dialogs.

2. Please save PrintPreviewParams to the registry or ini:

http://www.imageen.com/help/TImageEnIO.PrintPreviewParams.html

Nigel
Xequte Software
www.imageen.com