Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Newbie Question
Message
General information
Forum:
ASP.NET
Category:
Other
Title:
Miscellaneous
Thread ID:
00813369
Message ID:
00813475
Views:
6
Joe,

>I am developing a C# app with the Amyuni PDF Converter, this code "PDF.PrinterParamInt("RTF Format")=1" executes in VB.Net, but in C# in generates a "PrinterParamInt denotes a property where a method ..." error.

Although I'm not familiar with the PDF Converter product you're using, I can tell by your code that PrinterParamInt is a property that is an array or collection. In VB .NET you use parentheses to reference collection members, but in C#, you use square brackets like this:

PDF.PrinterParamInt["RTF Format"]=1;

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Reply
Map
View

Click here to load this message in the networking platform