• 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 relink a raster to a file by using SDK??

New Here ,
Jul 29, 2008 Jul 29, 2008

Copy link to clipboard

Copied

I want to relink a raster art object to a image file, but I don't find a function in RasterSuite or PlacedSuite can do this.

Any ideas?

Thanks

hanyang
TOPICS
SDK

Views

1.1K

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
Guide ,
Jul 30, 2008 Jul 30, 2008

Copy link to clipboard

Copied

You're trying to change the object to which a placed object is linked? So if I'm understanding you right, you'd like to take a place image, say, that's linked to file A and change it so it's linked to file B instead?

If I've got that right, then AIPlacedSuite::ExecPlaceRequest() might be what you want. I've never used it, but it looks like it uses a class (AIPlaceRequestData) that includes 'request type' enum that includes:

kQueryReplace
kForceReplace
kUnlinkPlaced
kForceReplaceEx

and some others. Might that be what you want? It also seems to have members for 'old art' and 'new art'. Sort of suggests you can use it to alter a placed object.

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 ,
Aug 01, 2008 Aug 01, 2008

Copy link to clipboard

Copied

Thank you so very much!

This is precisely what I need.

hanyang

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
Explorer ,
Jun 10, 2010 Jun 10, 2010

Copy link to clipboard

Copied

LATEST

Thanks for the info!

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