0
How to relink a raster to a file by using SDK??
New Here
,
/t5/illustrator-discussions/how-to-relink-a-raster-to-a-file-by-using-sdk/td-p/1253187
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
Any ideas?
Thanks
hanyang
TOPICS
SDK
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Explore related tutorials & articles
Guide
,
/t5/illustrator-discussions/how-to-relink-a-raster-to-a-file-by-using-sdk/m-p/1253188#M234925
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.
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.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
jdyyz
AUTHOR
New Here
,
/t5/illustrator-discussions/how-to-relink-a-raster-to-a-file-by-using-sdk/m-p/1253189#M234926
Aug 01, 2008
Aug 01, 2008
Copy link to clipboard
Copied
Thank you so very much!
This is precisely what I need.
hanyang
This is precisely what I need.
hanyang
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Explorer
,
LATEST
/t5/illustrator-discussions/how-to-relink-a-raster-to-a-file-by-using-sdk/m-p/1253190#M234927
Jun 10, 2010
Jun 10, 2010
Copy link to clipboard
Copied
Thanks for the info!
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

