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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 PrintPreview PREVIEW Canvas Resolution Is Not Hi-Resolution (as in file) ?
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

andyhill

Australia
159 Posts

Posted - Dec 12 2022 :  15:33:28  Show Profile  Reply
My code

...

          if (sRec.Attr and faDirectory) <> faDirectory then begin
            try
              ImageEnMView2.AppendImage(sRec.Name);
              ImageEnMView2.ImageFileName[ImageEnMView2.ImageCount-1]:=   sRec.Name;
              ImageEnMView2.ImageBottomText[ImageEnMView2.ImageCount-1]:= sRec.Name;
            except
            end;
          end;
...
 
  ImageEnMView2.MIO.DialogsMeasureUnit:=          ieduCm; // A6 105 × 148
  ImageEnMView2.MIO.PrintPreviewParams.Width:=    10.5;
  ImageEnMView2.MIO.PrintPreviewParams.Height:=   14.8;
  ImageEnMView2.MIO.PrintPreviewParams.Position:= ppCenter; 
  ImageEnMView2.MIO.PrintPreviewParams.Size:=     psSpecifiedSize; 
  // Show Hi-Resolution
  ImageEnMView2.MIO.PrintPreviewParams.PrintThumbnails:= False;
  ImageEnMView2.MIO.PrintPreviewParams.ThumbnailStyle:=  ptFlat;
  //
  ImageEnMView2.MIO.PrintPreviewParams.PrintSelected:= True;
  ImageEnMView2.MIO.PrintPreviewParams.DlgMaximized:=  True;
  ImageEnMView2.MIO.DoPrintPreviewDialog('cccc', false, 'Print Preview');

The print version is Hi-Resolution BUT NOT THE PREVIEW CANVAS - Please advise - Thanks in advance


Andy

xequte

39053 Posts

Posted - Dec 12 2022 :  20:28:06  Show Profile  Reply
Hi Andy

What is ImageEnMView2.StoreType?



Nigel
Xequte Software
www.imageen.com
Go to Top of Page

andyhill

Australia
159 Posts

Posted - Dec 13 2022 :  13:31:25  Show Profile  Reply
As the MView was built dynamically in code at runtime, I failed to realize your default was ietThumb (now set to ietNormal) - thanks

Andy
Go to Top of Page

xequte

39053 Posts

Posted - Dec 13 2022 :  23:01:52  Show Profile  Reply
Hi Andy

Default for TImageEnMView should be ietNormal. ietFastThumb for TImageEnFolderMView

Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: