saveWmf
saveWmf
parte:saveWmf(path: stringa, singlePart) → nil
Crea il file .wmf della parte nel percorso passato in ingresso. Il secondo parametro stabilisce se considerare o meno i figli.
Esempio 1. Esempio saveWmf
local top = top_ptop()
local src = top:new("Q_WMF")
src:activate()
local ds = NewDrawStyle()
ds:line(Point(0, 0, 0), Point(30, 15, 0))
local wmfPath = catpath(GetTempPath(), "qs_part_test.wmf")
src:saveWmf(wmfPath, 1)
print("\nsaveWmf -> FileExists = " .. tostring(FileExists(wmfPath)))
src:erase()