|
@@ -416,6 +416,8 @@ namespace ComPDFKit.Controls.Printer
|
|
|
{
|
|
|
using (Bitmap resizedBitmap = ResizeBitmap(bitmap, 100))
|
|
|
{
|
|
|
+ realBound.Width = (int)(cSize.width * 1.4);
|
|
|
+ realBound.Height = (int)(cSize.height * 1.4);
|
|
|
if (isManualDuplex && PrintIndex % 2 == 1 && printSettingsInfo.DuplexPrintMod == DuplexPrintMod.FlipShortEdge)
|
|
|
{
|
|
|
resizedBitmap.RotateFlip(RotateFlipType.RotateNoneFlipY);
|
|
@@ -462,6 +464,8 @@ namespace ComPDFKit.Controls.Printer
|
|
|
float aspectRatioResizedBitmap = (float)resizedBitmap.Width / resizedBitmap.Height;
|
|
|
float aspectRatioRealBound = (float)realBound.Width / realBound.Height;
|
|
|
|
|
|
+ realBound.Width = (int)(cSize.width * 1.4);
|
|
|
+ realBound.Height = (int)(cSize.height * 1.4);
|
|
|
realBound.Width = (int)(realBound.Width * (printSettingsInfo.PrintMode as SizeModeInfo).Scale / 100.0);
|
|
|
realBound.Height = (int)(realBound.Height * (printSettingsInfo.PrintMode as SizeModeInfo).Scale / 100.0);
|
|
|
|