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

[Win-Ill10]Expand Pattern Swatch not working!

New Here ,
Mar 30, 2008 Mar 30, 2008
Hi all,

Im using VC++6.0,Illustrator 10 & SDK.Im trying to Expand a pattern swatch programatically.But it does not work.Here's the code snippet

AIErr error;
AIArtHandle path;

case kPattern:
error=sExpand->Expand(path,0);
break;

Please tell whats wrong!
TOPICS
SDK
934
Translate
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
Enthusiast ,
Apr 16, 2009 Apr 16, 2009
LATEST

you could do as follow:

//retrieve the pattern art fot a given AIColor (PatternColor).

AIArtHandle patternArt;

AIPatternStyle patternStyle;


patternStyle = color.c.p

result = sAIPattern->GetPatternArt(patternStyle.pattern, &patternArt);
aisdk::check_ai_error(result);

then, do a recursive treewalk for this patternArt!

this is done!

Translate
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