Article View: adobe.scripting.indesign
Article #9012How to determine object type in C#?
From: tchaiket
Date: Tue, 12 Sep 2006 05:18
Date: Tue, 12 Sep 2006 05:18
3 lines
1126 bytes
1126 bytes
Hi all, We are using C# to script our InDesign Server. The problem is that everywhere we're getting type of Object. In VB, you can use "typename" to find out the actual type. In C#, I can't find an equivalent fucntion. So there is no way to find out what the type of the object is(Rectangle, TextFrame, etc.). I have been looking at this for a while and it is driving me crazy. Thanks in advance.
Technical Details
Message-ID:
<3bc194cf.-1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns14feed!worldnet.att.net!128.230.129.106!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.cw.net!cw.net!news-FFM2.ecrc.de!news.germany.com!news.isoc.lu!webcrossingShow Full Headers
Complete Article Headers
X-Google-Thread: f939a,6263734ace80cc3c,start X-Google-Attributes: gidf939a,public X-Google-Language: ENGLISH,ASCII-7-bit From: tchaiket@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns14feed!worldnet.att.net!128.230.129.106!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.cw.net!cw.net!news-FFM2.ecrc.de!news.germany.com!news.isoc.lu!webcrossing Newsgroups: adobe.scripting.indesign Subject: How to determine object type in C#? Message-ID: <3bc194cf.-1@webcrossing.la2eafNXanI> Date: Mon, 11 Sep 2006 22:18:03 -0700 Lines: 8 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit