Answered
I want to pass an ITextFrameColumn to IScriptRequestData::AppendReturnData
I want to pass an ITextFrameColumn to IScriptRequestData::AppendReturnData
I want to pass an ITextFrameColumn to IScriptRequestData::AppendReturnData
In order to pass a text frame from the SDK to ExtendScript, it was necessary to pass IGraphicFrameData.
I noticed after reading the description of SDKLayoutHelper::CreateTextFrame.
example
InterfacePtr<IMultiColumnTextFrame> multiColumnFrame(textFrameColumn->QueryMultiColumnTextFrame());
InterfacePtr<IHierarchy> hierarchy(Utils<ITextUtils>()->QuerySplineFromTextFrame(multiColumnFrame));
InterfacePtr<IGraphicFrameData> graphicFrameData(hierarchy, UseDefaultIID());
InterfacePtr<IScript> script_Return(graphicFrameData, UseDefaultIID());
ScriptData scriptData(script_Return);
scriptRequestData->AppendReturnData(script, scriptID, scriptData);
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.