If the RO Image file has an extension of "PCX" use an extension of "TIF" instead.

PCX is no longer supported and the 32-Bit RO Conversion code converts PCX files to TIF.
If a Text entry is placed above the grid, ignore it for the Grid lines and adjust the Top margin to allow the Plot title to print properly.
This commit is contained in:
Rich
2013-07-31 14:51:07 +00:00
parent 885964885c
commit 6c56658451
2 changed files with 8 additions and 2 deletions

View File

@@ -73,6 +73,7 @@ namespace VEPROMS.CSLA.Library
// throw new System.Security.SecurityException("User not authorized to view a ROImage");
try
{
if (fileName.EndsWith("PCX")) fileName = fileName.Replace(".PCX", ".TIF");
ROImageInfo tmp = DataPortal.Fetch<ROImageInfo>(new ROFstID_FileNameCriteria(rOFstID, fileName));
if (tmp.ErrorMessage == "No Record Found")
{