テキストジャスティフィケーションを設定する


 プロダクト:MicroStation
 バージョン:CE update16
 環境:N/A
 エリア:Programming
 サブエリア:MDL

C:\Program Files\Bentley\MicroStationCONNECTSDK\DocumentationMicroStationAPI.chm より、ACTIVEPARAM_TEXTJUSTを検索すると ActiveUInt32Params に含まれています。

以下のように、UInt32の変数として処理して頂けると設定を変更して頂けます。

UInt32 textJust=0;
ActiveParams::GetValue(textJust, ACTIVEPARAM_TEXTJUST);
swprintf(wrkMsg,L"53 textJust=%d", textJust);  mdlDialog_dmsgsPrint(wrkMsg);
textJust=7;
 /*  Center Middle = Center Center */
ActiveParams::SetValue(textJust, ACTIVEPARAM_TEXTJUST);

 Original Author:Mikihiko Tabata