Quantcast
Channel: Adobe Community : Popular Discussions - InDesign SDK
Viewing all articles
Browse latest Browse all 78596

Creating text frame, Visual studio giving error in compilation !

$
0
0

I am trying to create a simple text frame using below commands:

 

  ILayoutControlData* layoutControlData ;

                    PMRect boundsInPageCoords1;

                    const PMRect &boundsInPageCoords = boundsInPageCoords1 ;

                    l2_newTextFrame.CreateTextFrame(layoutControlData,boundsInP ageCoords);    <-----line 179

 

 

But VC is giving below error during compilation:

\indesign cc\adobe_indesign_cc_plugin_sdk0108\source\sdksamples\learn2\l2dialog controller.cpp(179): error C2220: warning treated as error - no 'object' file generated

 

Has any one created a basic text frame successfully?


Viewing all articles
Browse latest Browse all 78596

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>