iOS Question Change Font

Discussion in 'iOS Questions' started by tufanv, Apr 6, 2015.

  1. tufanv

    tufanv Expert Licensed User

    Hello,

    I am using Arial Bold as default on label. I want to change it to TrebuchetMS when clicked on a button. I cant use label1.font="TrebuchetMS" or stg like this ( i wll not create a new font , I want to change to any font that alreadys exists in b4i )

    ty
     
  2. Pendrush

    Pendrush Well-Known Member Licensed User

    Code:
    Label1.Font = Font.CreateNew2("TrebuchetMS"15)
     
    tufanv likes this.
  3. tufanv

    tufanv Expert Licensed User

    Thank you !
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice