Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- string AppDirectory = AppDomain.CurrentDomain.BaseDirectory;
- Range oRange = (Range)ar.Cells[2, 1];
- float Left = (float)((double)oRange.Left);
- float Top = (float)((double)oRange.Top);
- const float ImageSize = 32;
- ar.Shapes.AddPicture(AppDirectory + "ReportIcon" + "\Bedab-Logo-Blue", Microsoft.Office.Core.MsoTriState.msoFalse, Microsoft.Office.Core.MsoTriState.msoCTrue, Left, Top, (float)1.41, (float)0.4);
- oRange.RowHeight = ImageSize + 2;
- ar.Shapes.AddPicture(AppDirectory + "ReportIcon" + "\Bedab-Logo-Blue", Microsoft.Office.Core.MsoTriState.msoFalse, Microsoft.Office.Core.MsoTriState.msoCTrue, Left, Top, (float)1.41, (float)0.4);
- ar.Shapes.AddPicture(AppDirectory + "ReportIcon" + "\Bedab-Logo-Blue.JPG",
- Microsoft.Office.Core.MsoTriState.msoFalse,
- Microsoft.Office.Core.MsoTriState.msoCTrue, Left, Top, (float)1.41, (float)0.4);
Add Comment
Please, Sign In to add comment