What's new

behaviour of SaveSnapshot and SaveThumbnail

idslk

Alibre Super User
Hello colleagues,

it is intended that:
- SaveSnapshot() only saves if UseAspectRatio or UseWidthandHeight are True
and saving only with Width and Height (and ,False,False) does not work?
- SaveThumbnail() saves everytime a square thumb using the bigger value of width and height?

Regards
Stefan
 

NateLiquidGravity

Alibre Super User
The API says:

bUseCanvasAspectRatio (Optional)
Type: System. Boolean
If true, the greater of the values passed for width/height will be used with the aspect ratio of the current display canvas to determine the size of the snapshot.

bUseCanvasWidthAndHeight (Optional)
Type: System. Boolean
If true, other parameters are overridden and the current width and height of the graphic canvas are used.
 

ajayre

Alibre Super User
SaveThumbnail saves a copy of the image thumbnail that you can see in Windows Explorer for AD files. I am not sure of the limitations of this - e.g. max size. In general if you want an image of your part then use SaveSnapshot.

Andy
 
Top