Italian vista fill

ivanomonti

Expert
Licensed User
Longtime User
Font size

da codice come posso conoscere quale font usato e le sue dimensioni di un determinato object usando il codice come sopra...

dim sizefont as integer

sizefont = pn.GetView(i).fontsize

Perchè vorrei ridimensionare anche il font come gli object.

Grazie, e poi pubblico su market.
 

klaus

Expert
Licensed User
Longtime User
In the attached test program the TextSize is changed.
You need to test if the view is a Label and if yes you can change the TextSize. Testing if the view is a Label includes Labels, EditTexts, Buttons etc.
GetView(i).TextSize won't work becaus not all Views support the TextSize property.

Best regards.
 

Attachments

  • LayoutScale.zip
    7.7 KB · Views: 279
Top