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.
Copy link to clipboard
Copied
Is this about the Illustrator SDK?
Copy link to clipboard
Copied
Yes
Copy link to clipboard
Copied
Actually I was hoping for a longer explanation, but you want to anyway ask your question in here:
Copy link to clipboard
Copied
Move to the Illustrator SDK forum.