Group Abstract Group Abstract

Message Boards Message Boards

CDFInformation looses size specification

GROUPS:
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
Answer
1 month ago