You can replce an old image with a new one using sdfdoc.Swap(). For
example:
pdfdoc.GetSDFDoc().Swap(image1.GetSDFObj().GetObjNum(),
image2.GetSDFObj().GetObjNum());
For more examples you can search for swap or "Image Replace" in this
forum.
Object that are no longer in use are utomatically deleted if you are
saving the file using linearization or unused object remove mode
(these are flags you can pass in doc.Save() method).
> > SDK" group. To post to this group, send email to
supp...@pdftron.com
> > visit us athttp://www.pdftron.com- Hide quoted text -
>
> - Show quoted text -