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

40

Likes

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

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

41

Likes

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
Nov 03, 2020 0
Nov 03, 2020

Copy link to clipboard

Copied

Likes

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
Reply
Loading...
Nov 03, 2020 0
Resources