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

How to relink a raster to a file by using SDK??

New Here ,
Jul 29, 2008 Jul 29, 2008
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
1.1K
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
Guide ,
Jul 30, 2008 Jul 30, 2008
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.
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
New Here ,
Aug 01, 2008 Aug 01, 2008
Thank you so very much!

This is precisely what I need.

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

Thanks for the info!

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