Articles in this section
Category / Section

How to customize Text Primitive positions in GradientPanel?

1 min read

In GradientPanelExt, it is possible to customize the Position of Text Primitives in it. This can be achieved by using the property named “Position” of Text Primitive.

 

Following code examples demonstrates the same.

C#

 
//To Customize the TextPrimitive position in Gradient Panel
this.textPrimitive1.Alignment = Alignment.Right; 
this.textPrimitive1.Position = 50;
 

 

VB

 
'To Customize the TextPrimitive position in Gradient Panel
 Me.textPrimitive1.Alignment = Alignment.Right
 Me.textPrimitive1.Position = 10
 
 

                            

C:\Users\keerthana.jegannatha\Pictures\Camera Roll\TextPrimitive1.png

Figure 1. When TextPrimitive position =50 in Gradient Panel with image

 

C:\Users\keerthana.jegannatha\Pictures\April\textprimitve10.png

Figure 1. When TextPrimitive position =10 in Gradient Panel with image

 

 

Sample Links:

 

C#: How to Customize the TextPrimitive Position in Gradient Panel C#

VB: How to Customize the TextPrimitive Position in Gradient Panel VB

 

 

 

 

 

 

 

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied