Message Boards Message Boards

0
|
4220 Views
|
0 Replies
|
0 Total Likes
View groups...
Share
Share this post:

CDFInformation looses size specification

Posted 10 years ago
Dear,

I created a CDF file with the following command:


CDFInformation[Manipulate[Plot[Sin[a x + b], {x, 0, 2 \[Pi]}], {a, 1, 10, 1}, {b, 1, 20, 1}]]
{"Size" -> {275, 254}, "EmbeddingScript" ->  "<script type=\"text/javascript\" \
src=\"http://www.wolfram.com/cdf-player/plugin/v2.1/cdfplugin.js\"></\
script>
<script type=\"text/javascript\">
var cdf = new cdfplugin();
cdf.embed('`1`', 275, 254);
</script>"}

As you can see the size width and height in pixels is 275x254. After I saved the notebook (only with the same Manipulate command) as a CDF file named "cdfinf" . After I tried to see the size through of CDFInformation command but it did not work, as you can see bellow (60x15).
 CDFInformation["cdfinf"]
 
 {"Size" -> {60, 15},  "EmbeddingScript" -> "<script type=\"text/javascript\" \
 src=\"http://www.wolfram.com/cdf-player/plugin/v2.1/cdfplugin.js\"></\
 script>
 <script type=\"text/javascript\">
 var cdf = new cdfplugin();
 cdf.embed('`1`', 60, 15);
  </script>"}.
What was my mistake? 
Thank you
Ana
POSTED BY: Ana Squadri
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract