• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Large Canvas how to detect?

New Here ,
Mar 18, 2022 Mar 18, 2022

Copy link to clipboard

Copied

Hi all

 

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.

 

Thank you

TOPICS
SDK

Views

104

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
New Here ,
Apr 12, 2022 Apr 12, 2022

Copy link to clipboard

Copied

LATEST

Hi all

 

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.

 

😉

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines