Comando ExportaImagen
De GeoGebra Manual
Página en proceso de traducción. |
ExportaImagen
Categorías de Comandos (todos)
- ExportaImagen( <Propiedad>, <Valor>, <Propiedad>, <Valor>, ... )
- Exporta una imagen de la vista activa (o la especificada a través del parámetro "view")
Nota:
- Las "Propiedades" requeridas en las sintaxis de este comando (listadas en los siguientes ejemplos) deben ser ingresadas en inglés.
- Los valores que refieren a la vista (propiedad "view") que se desea grabar como imagen son:
- 1 para 'Vista gráfica
- 2 para Vista gráfica 2
- -1 para Vista 3D
Ejemplos:
ExportaImagen("scale", 5)
- Muestra una ventana emergente de la vista actual para que el usuario pueda hacer clic derecho -> Guardar imagen como...
ExportaImagen("filename", "image.png")
- Saves a file called "image.png" of the current view
ExportaImagen("filename", "image.png", "view", 2)
- Saves a file called "image.png" of Graphics View 2
ExportaImagen("filename", "image.png", "view", -1)
- Saves a file called "image.png" of View 3D Graphics
ExportaImagen("filename", "image.png", "dpi", 300)
- Saves a file called "image.png" of the current view at 300 dpi (dots-per-inch)
ExportaImagen("filename", "image.png", "scale", 2)
- Saves a file called "image.png" of the current view at scale 2 (ie twice nominal screen resolution)
ExportaImagen("filename", "image.png", scalecm", 2, "dpi", 600)
- Saves a file called "image.png" of the current view at 600 dpi at a scale 1 unit = 2 cm
ExportaImagen("filename", "image.png", "width", 1000)
- Saves a file called "image.png" of the current view with width = 1000 pixels
ExportaImagen("filename", "image.png", "height", 1000)
- Saves a file called "image.png" of the current view with height = 1000 pixels
ExportaImagen("filename", "image.png", "transparent", true)
- Saves a transparent PNG file called "image.png"
ExportaImagen("filename", "image.svg", "type", "svg")
- Saves a file called "image.svg" of the current view in SVG format
Notas:
- En GeoGebra Clásico 5 if there is no
filename
parameter the image will be copied to the Clipboard. This may also be possible in the future (with browser support) in other versions.