joseph.spang1

How to work with textColl

Discussion created by joseph.spang1 on Jul 24, 2013
Latest reply on Jul 25, 2013 by joseph.spang1

Hello,

 

I'm trying to modify text angle on a user layer.

 

After creating text collection with this:

 

   Set textsColl = docObj.UserLayerTexts(epcbSelectAll,ulayerToProcess,True)

 

I want to change text orientation:

 

If Format.Orientation = 0 Or Format.Orientation = 180 Then

  If Not Format.Orientation(epcbAngleUnitDegrees) = 0.0 Then

  Format.Orientation(epcbAngleUnitDegrees) = 0.0

  End If

Else

  If Not Format.Orientation(epcbAngleUnitDegrees) = 90 Then

  Format.Orientation(epcbAngleUnitDegrees) = 90

  End If

End If

 

Error message: object required Format.Orientation

 

Thanks for your help

 

Joseph

Outcomes