How to disable embedding remote documents?

Q: The GotoRemote action causes embedding the whole external target
document into the current document. Can I switch off embedding somehow?
A: You can create a FileSpec object with 'embed' parameter set to
false. For example:

FileSpec fs = FileSpec::Create(doc, "myexternal.pdf", false);
// or FileSpec fs = FileSpec:: CreateURL (doc,

Action action = Action::CreateGotoRemote(fs, 1);