PurplePen.AddTextMode.CreateTextSpecial C# (CSharp) Method

CreateTextSpecial() private method

private CreateTextSpecial ( RectangleF boundingRect ) : void
boundingRect System.Drawing.RectangleF
return void
        void CreateTextSpecial(RectangleF boundingRect)
        {
            undoMgr.BeginCommand(1551, CommandNameText.AddObject);
            Id<Special> specialId = ChangeEvent.AddTextSpecial(eventDB, boundingRect, text, currentObj.fontName, (currentObj.fontStyle & FontStyle.Bold) != 0, (currentObj.fontStyle & FontStyle.Italic) != 0, currentObj.fontColor);
            undoMgr.EndCommand(1551);

            selectionMgr.SelectSpecial(specialId);

            controller.DefaultCommandMode();
        }