B2016-273: checkoff/signoff for embedded images

B2016-272: centered tables print too far to right
This commit is contained in:
2016-12-05 13:55:57 +00:00
parent 10508fef5f
commit a9bd84ad5f
2 changed files with 16 additions and 1 deletions

View File

@@ -3100,6 +3100,14 @@ namespace Volian.Controls.Library
else
location = new PointF(rr.MyStepRTB.Left + rr.MyStepRTB.Width + 2, rr.MyStepRTB.Top);
}
else if (this is ImageItem)
{
ImageItem ii = this as ImageItem;
if (MyItemInfo.ActiveFormat.PlantFormat.FormatData.ProcData.CheckOffData.SkipSpaces)
location = new PointF(ii.MyPictureBox.Left - 50, ii.MyPictureBox.Top);
else
location = new PointF(ii.MyPictureBox.Left + ii.MyPictureBox.Width + 2, ii.MyPictureBox.Top);
}
else
{
RTBItem ri = this as RTBItem;