Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Newbie Question
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Divers
Thread ID:
00813369
Message ID:
00813475
Vues:
7
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform