Nevron Forum
Back
Login
Register
Login
Register
Home
»
Nevron Open Vision for NET
»
NOV Diagram for .NET
»
How to place text inside a shapefile for Nevron diagram
How to place text inside a shapefile for Nevron diagram
Post Reply
How to place text inside a shapefile for Nevron diagram
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
Goto Topics Forum
Author
Message
Kirk Kanjian
Kirk Kanjian
posted 5 Years Ago
ANSWER
Topic Details
Group: Forum Members
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.
Reply
Like
0
Replies
Kirk Kanjian
Kirk Kanjian
posted 5 Years Ago
ANSWER
Post Details
Group: Forum Members
Posts: 8,
Visits: 18
Hello,
Below are 2 images. The first shows the size of the shape does not matter. The text is being cut off. I have experience this in Crystal Reports. It happen there when you have to define the Line Spacing. If that is defined smaller than the font size, it gets cut off. I am unable to find the same function in the diagram control.
The second image is the way it looks in the actual application.
Please let me know if any additional information will help.
Thanks,
Kirk
Reply
Like
0
Nevron Support
Nevron Support
posted 5 Years Ago
ANSWER
Post Details
Group: Administrators
Posts: 3.1K,
Visits: 4.2K
Hello Kirk.
Thank you for the screenshots. Have you tried making the font size smaller? In your code from the first post you use font size of 10pt, please try using font size of 8pt and let us know if it makes any difference.
Best Regards,
Nevron Support Team
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
How to place text inside a shapefile for Nevron diagram
Kirk Kanjian
-
5 Years Ago
Hello Kirk, Thank you for the screenshot, but we don't see the...
Nevron Support
-
5 Years Ago
Hello, Below are 2 images. The first shows the size of the shape does...
Kirk Kanjian
-
5 Years Ago
Hello Kirk. Thank you for the screenshots. Have you tried making the...
Nevron Support
-
5 Years Ago
Hello, A smaller font size does show the entire character, however it...
Kirk Kanjian
-
5 Years Ago
Hello, We recommend you scale up the whole diagram, for example by...
Nevron Support
-
5 Years Ago
Post Reply
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search