JavaScript Application Programming Interface (API) for AutoCAD
|
Autodesk.AutoCAD.js
function Acad.Application.activedocument.capturePreview(w,h);
Parameters |
Description |
w |
width of final image. |
h |
height of final image. |
The Promise object, which can then be used as an argument.
Use this method to capture an image of the current document. The image is returned as a Base64 encoded bitmap. This function returns promise pattern result, it has to be call in Promise Pattern with .then(onsuccess, onError) function.
Copyright (c) 2012. All rights reserved.
|
What do you think about this topic? Send feedback!
|