Copy link to clipboard
I'm having problems with my plugin working with Large Canvas documents.
How can I detect if a document uses large canvas?
I found in previous discussions that scripts use the app.activeDocument.scaleFactor property to detect it but with a plug-in how can I do it?
I thougth to use the GetEffectiveScaleFactor of AIDocumentSuite but it always return 1.0.
I solved it by myself.
Just to let you know: I was simply looking in the wrong API, from SDK version 2021 the new method GetDocumemntScale was added to AIDocumentSuite.