AnsweredAssumed Answered

Hidden properties of UserLayerText

Question asked by Head1 on May 18, 2011
Latest reply on May 19, 2011 by Head1

Hello everybody,

     I have problems in extracting  some properties from  user layer text.
     As you can see in  below example, it is very easy to extract:

 

       Text string, X and Y coordinates, and layer properties .
      
I can not find  properties like: Font name, Text height, Text rotation, Mirror     

 

      Can anybody help ?

             Thanks,
   
        Head1.

' ----------------------------------------------------------------------------------------------
Dim Sellected_Text
Dim Curr_Text

 

Set Selected_Text = My_Board.UserLayerTexts(epcbSelectSelected, "*")      ' My_Board is the document

 

For each Curr_text in Selected_text
       Print  curr_text.TextString
       Print  curr_text.PositionX
       Print  curr_text.PositionY
       Print  curr_text.layer

       Print  "=========================="
next
' ----------------------------------------------------------------------------------------------    

Outcomes