Image (Export)
Export an image.
Syntax
model.result().export().create(<ftag>,"Image");
model.result().export().create(<ftag>,<pgtag>,"Image");
model.result().export(<ftag>).set(property, <value>);
model.result().export(<ftag>).run();
Description
model.result().export().create(<ftag>,"Image") creates an image feature with the name <ftag>.
model.result().export().create(<ftag>,<pgtag>,"Image") creates am image feature with the name <ftag> for the plot group <pgtag>.
result().export(<ftag>).set("plotgroup", <ptag>) changes the source of the image to the plot group named <ptag>.
Image features can be used both to export images and to have ready-made views of plot groups.
The following properties are available:
on | off
Always ask for filename when saving if target is set to file. This property is ignored when running without a GUI.
on | off
on | off
If options1d is on; enable/disable display of the coordinate axes in 1D.
on | off
If options2d is on; enable/disable display of the coordinate axes in 2D.
on | off
current | color | transparent
on | off
Include line segments if imagetype is gltf.
on | off
png | eps | jpeg | bmp | gltf
The type of image to export if target is set to file. eps can only be used for 1D plots. gltf can only be used for 3D plots.
on | off
If options1d is on: enable or disable display of the legend in 1D.
on | off
If options2d is on: enable or disable display of the legend in 2D.
on | off
If options3d is on: enable or disable display of the legend in 3D.
true | false
If true, then the aspect ratio of the image is preserved when the width or the height is changed.
true | false
Lock the view in PowerPoint if target is set to linked. Saved camera settings are then used when you update the image from PowerPoint.
on | off
If options1d is on: enable or disable display of the logo in 1D.
on | off
If options2d is on: enable or disable display of the logo in 2D.
on | off
If options3d is on: enable or disable display of the logo in 3D.
on | off
on | off
on | off
on | off
If a quality level (quantitylevel) should be active when imagetype is jpeg.
The quality level when imagetype is jpeg.
manualprint | manualweb | current | presentation | any user-defined preset sizes.
The tag of a node (such as a plotgroup like "pg1") with the plot for the image export.
plotgroup | geometry | other
file | clipboard | linked
on | off
If options1d is on: enable or disable display of the title in 1D.
on | off
If options2d is on: enable or disable display of the title in 2D.
on | off
If options3d is on: enable or disable display of the title in 3D.
px | mm | in
auto | new | any other existing view
The view for the image: with auto it is typically taken from the plot group or from the geometry..
on | off
Changing plot group after creation does not reset plot group-dependent default settings (title, colorlegend).
See Also
Animation