rounded edges in Border of StiText
Posted: Thu Mar 09, 2017 6:32 am
Hello,
how I get rounded edges for the Border of a StiText-Objekt?
Thank you
how I get rounded edges for the Border of a StiText-Objekt?
Thank you
Reporting tool and data analytics tools for creating reports and dashboards in ASP.NET, ASP.NET MVC, .NET Core, Blazor, Angular, PHP, Python, WPF, JavaScript, and Java applications.
https://forum.stimulsoft.com/
Code: Select all
double widthTitle = Title.Render().GetActualSize().Width;
double beginTitle = (Page1.Width - widthTitle) / 2.0;
TitleFrame.Left = beginTitle - 0.5;
TitleFrame.Width = widthTitle + 1.0;
Title.Left = beginTitle + 1.0;
Code: Select all
double widthTitle = Text1.Render().GetActualSize().Width;
double beginTitle = (Page1.Width - widthTitle) / 2.0;
RoundedRectanglePrimitive1.Left = beginTitle;
RoundedRectanglePrimitive1.Width = widthTitle;
Text1.Left = beginTitle;