0 返信 最新の回答 日時: Mar 3, 2011 8:05 PM ユーザー:Wang4181

    How to do InsertCmd to display Japanese character?

    Wang4181 Level 1

      Hi,

       

      I am using the following code to insert text to text frame in layout.

       

       

      InterfacePtr<ITextModelCmds>textModelCmds(textModel, UseDefaultIID());

      InterfacePtr<ICommand> iCmd(textModelCmds->InsertCmd(0, wideValueString));

      err = CmdUtils::ProcessCommand(iCmd);

       

       

      when wideValueString contains Roman characters, it works fine,

      but if it contains Japanese characters, the text frame displayed "square" (or not recognized font character).

       

      Can anyone help how to fix this?

       

      Thanks.