TechDraw Image/it: Difference between revisions

From FreeCAD Documentation
No edit summary
(Created page with "Lo strumento Immagine inserisce un'immagine bitmap (PNG, TIFF, JPEG, ecc.) da un file nella pagina come una vista")
Line 4: Line 4:
==Descrizione==
==Descrizione==


The Image tool inserts a [[bitmap]] image (PNG, TIFF, JPEG, etc.) from a file into the page as a view.
Lo strumento Immagine inserisce un'immagine [[bitmap/it|bitmap]] (PNG, TIFF, JPEG, ecc.) da un file nella pagina come una vista


[[Image:TechDraw_Image_example.png]]
[[Image:TechDraw_Image_example.png]]

Revision as of 21:54, 4 January 2019

Immagine

Posizione nel menu
TechDraw → Immagine
Ambiente
TechDraw
Avvio veloce
Nessuno
Introdotto nella versione
-
Vedere anche
Simbolo

Descrizione

Lo strumento Immagine inserisce un'immagine bitmap (PNG, TIFF, JPEG, ecc.) da un file nella pagina come una vista

Image inserted in the drawing page

Uso

  1. Premere il pulsante File:Techdraw-image.png Immagine
  2. Si apre una finestra di dialogo. Selezionare un percorso e il nome file.
  1. Press the File:Techdraw-image.svg Image button
  2. A file dialog will open. Select a location and file name.

Proprietà

  • n/a
  • Use the Scale property to adjust the size of the image.
  • Use the Width and Height properties to clip the image.

Script

I file di immagini bitmap possono essere inseriti in una pagina di disegno utilizzando Python.

See also: TechDraw API and FreeCAD Scripting Basics.

The Image tool can be used in macros and from the Python console by using the following functions:

dvi = FreeCAD.ActiveDocument.addObject('TechDraw::DrawViewImage','TestImage')
rc = page.addView(dvi)
dvi.ImageFile = "pathToMy/imageFile.png"
dvi.Height = 200
dvi.Width  = 200