예제 #1
0
 protected override void ProcessRecord()
 {
     SceneManager.Scene.SendInput(
         Input.NewTextFormatInput(
             TextFormatId
             , TextFormatInput.NewCreateTextFormat(
                 FontFamily
                 , FontSize
                 )
             )
         );
 }
예제 #2
0
        // ------------------------------------------------------------------------
        // Prefix: TextFormatInput
        // ------------------------------------------------------------------------

        // Method: CreateTextFormat (textFormatId, fontFamily, fontSize)
        public static void CreateTextFormat(
            int textFormatId
            , string fontFamily
            , double fontSize
            )
        {
            Scene.SendInput(
                Input.NewTextFormatInput(
                    textFormatId
                    , TextFormatInput.NewCreateTextFormat(
                        fontFamily
                        , fontSize
                        )
                    )
                );
        }