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

how to set pdf compatibility to ai file or doc?

New Here ,
Sep 28, 2017 Sep 28, 2017

Copy link to clipboard

Copied

how to set pdf compatibility to ai file or doc? I want to convert ai file to pdf file and I have used writeDocument() api. it converts ai file into pdf file but pdf file shows "create pdf compatible file option turned on".

here is my code -

ai::UnicodeString myString(filepath);

ai::FilePath aiFile1(myString);

              

ASErr result = kNoErr;

try

{

     SDK_ASSERT(sAIDocument);

     result = sAIDocument->WriteDocument(aiFile1, fileFormatName, false);    

     aisdk::check_ai_error(result);

}   

catch (ai::Error& ex)

{

      result = ex;

}

Please give answer if anyone knows.

TOPICS
SDK

Views

463

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
Community Expert ,
Sep 28, 2017 Sep 28, 2017

Copy link to clipboard

Copied

Is this about the Illustrator SDK?

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
New Here ,
Sep 28, 2017 Sep 28, 2017

Copy link to clipboard

Copied

Yes

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
Community Expert ,
Sep 29, 2017 Sep 29, 2017

Copy link to clipboard

Copied

Actually I was hoping for a longer explanation, but you want to anyway ask your question in here:

Illustrator SDK

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
Community Expert ,
Sep 29, 2017 Sep 29, 2017

Copy link to clipboard

Copied

LATEST

Move to the Illustrator SDK forum.

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