expert png (with resolution) using Interop.Illustrator

Nov 03, 2020

Copy link to clipboard

Copied

Set the resolution to 300 when exporting png, refer to the following code(C#). 
But it didn't take effect
public static void exportImg(String file, String img)
{
Document docRef = app.Open(file);
docRef.RasterEffectSettings.Resolution = 300;
docRef.Export(img, AiExportType.aiPNG24);
docRef.Close(AiSaveOptions.aiDoNotSaveChanges);

}

 

TOPICS
Import and export, SDK

Views

67

Likes

Translate

Translate

Report

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

1 Correct Answer

Nov 03, 2020
Correct answer by AUTHOR LATEST
Nov 03, 2020

Copy link to clipboard

Copied

Likes

Translate

Translate

Report

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