Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 1763

Summary: Silverlight3.5 doesn’t compile in Visual Studio 2008
Product: .NET TeeChart Reporter: sandra pazos <sandra>
Component: SilverlightAssignee: Steema Issue Manager <issuemanager>
Status: CONFIRMED ---    
Severity: normal CC: chris
Priority: Normal    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
URL: http://www.teechart.net/directline/viewtopic.php?f=6&t=1116&sid=0a367ddc4e1b02ddd3d56814880e9ef8&p=5807#p5807
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description sandra pazos 2017-02-02 06:04:48 EST
Silverlight3.5 doesn’t compile in Visual Studio 2008. Basically, the problem appear in VS2008 is caused because the default parameter specifiers are not permitted. 
The problem is produced in class CanvasPDF.cs and Export.Cs, specifically in methods below:
CanvasPDF.cs EndPenBrush method

   #if !VS2010
      private void EndPenBrush(bool useBuilder)
   #else
      private void EndPenBrush(bool useBuilder = true)         
   #endif

Export.cs DrawTo method

   #if SILVERLIGHT 

   #if VS2010
    private void DrawTo(PDFDocument page, Rect rect, Graphics3DPDF canvas =       null)
   #else
    private void DrawTo(PDFDocument page, Rect rect, Graphics3DPDF canvas)
   #endif