Profile Picture

How to place text inside a shapefile for Nevron diagram

Posted By Kirk Kanjian 4 Years Ago
Author
Message
Kirk Kanjian
Problem Posted 4 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)

Group: Forum Members
Last Active: 2 Years Ago
Posts: 8, Visits: 18
Hi,
I am using Nevron Nthin Diagram control and the text on the shapefile is getting cut off when displayed.
I want to know how can i make a text fit to the shapefile without getting cutting off so it sits at the center of the shapefile and takes height and width as per the space available.

I am using the following code to manipulate the text on the shapefile.

       Dim s as Nshape
       Dim textSize As Single
       textSize = 10
       Dim textStyle As New NTextStyle
       textStyle = s.ComposeTextStyle()
       textStyle.FontStyle = New NFontStyle("Arial", textSize)
       NStyle.SetTextStyle(s, textStyle)

Please find below the image which shows the text in the shapefile is cut off.
https://www.nevron.com/forum/uploads/images/4aa7d1e6-4f8f-449d-a349-4887.jpg






Similar Topics


Reading This Topic