Changed the name of the temporary file used for MSWord PDFs. Gave it a PDF extensison so that it caan be more easily opened.
Add useful information to the PDF file properties so that the verssion of the code used to create the PDF can be identified.
This commit is contained in:
@@ -1239,7 +1239,7 @@ namespace VEPROMS.CSLA.Library
|
||||
}
|
||||
private static string GetFileName(ItemInfo sect)
|
||||
{
|
||||
string fileName = VlnSettings.TemporaryFolder + @"\Doc " + sect.MyContent.MyEntry.DocID.ToString(); // +" " + (sect.DisplayNumber == "" ? sect.DisplayText : sect.DisplayNumber);
|
||||
string fileName = VlnSettings.TemporaryFolder + @"\Doc_" + sect.MyContent.MyEntry.DocID.ToString()+".Pdf"; // +" " + (sect.DisplayNumber == "" ? sect.DisplayText : sect.DisplayNumber);
|
||||
return fileName;
|
||||
}
|
||||
public static RectangleF CreatePlot(string pngFile, string xyPlot, float resolution, System.Windows.Forms.Form myForm)
|
||||
|
Reference in New Issue
Block a user