T O P I C R E V I E W |
supersk |
Posted - Sep 18 2021 : 03:45:23 The code as follow, you will get the Print PreView Dialog, but if there is a measurement line on the image, the measurement value displayed on the image is different from that in the print preview, the error like attached image. ImgEnMain->IO->DoPrintPreviewDialog(iedtDialog , Caption, true, "Print PreView", true);
 |
4 L A T E S T R E P L I E S (Newest First) |
xequte |
Posted - Sep 24 2021 : 21:55:23 Hi
Please email me for the updated source code.
Nigel Xequte Software www.imageen.com
|
supersk |
Posted - Sep 24 2021 : 21:29:43 I set scale and rulerparas's unit as follow: imgTmpNavi->ScaleX = ImgEnMain->ScaleX; imgTmpNavi->ScaleY = ImgEnMain->ScaleY; imgTmpNavi->RulerParams->Units = ImgEnMain->RulerParams->Units; but it only works when scale equals 1.
|
xequte |
Posted - Sep 21 2021 : 00:08:29 Hi
This can happen if the TImageEnView has been scaled. Before assigning, ensure you call:
ImageEnView2.ScaleX := ImageEnView1.ScaleX; ImageEnView2.ScaleY := ImageEnView1.ScaleY;
Before printing you will need to merge or set the text of line layers (i.e. by turning off ruler mode).
We will handle this automatically in the next update. You can email me for a pre-release if you like.
Nigel Xequte Software www.imageen.com
|
supersk |
Posted - Sep 18 2021 : 03:55:21 In addition, the same error occurs when you assign an imageenview to another imageenview.The code as follow#65306; TIEBitmap *tmpIEBmp = new TIEBitmap; tmpIEBmp->Width = DstImgWidth; tmpIEBmp->Height = DstImgHeight; tmpIEBmp->PixelFormat = imgTmpNavi->IEBitmap->PixelFormat; imgTmpNavi->Assign(ImgEnMain); imgTmpNavi->LayersMergeAll(); My ImageEn is 10.2, and IDE is 10.4 |