Write to user defined text length area using SystemMacro

Hello Team,

 

I need to write calculated variable from System Macro to User defined text length and width.

Please guide me in doing so.

Thanks.

Parents
  • In your system macro, you have to loop the source list entries. Each element in the source list is of type PslSourceString. Here you can set the maximal width, height, etc.

    Dim s As PslSourceString
    Set s = ...
    ' max width
    s.Property(20100) = 123
    ' max height
    s.Property(20101) = 12
    ' font alias
    s.Property(20102) = HelveticaBold14
    ' Word wrap
    s.Property(20103) = True

Reply
  • In your system macro, you have to loop the source list entries. Each element in the source list is of type PslSourceString. Here you can set the maximal width, height, etc.

    Dim s As PslSourceString
    Set s = ...
    ' max width
    s.Property(20100) = 123
    ' max height
    s.Property(20101) = 12
    ' font alias
    s.Property(20102) = HelveticaBold14
    ' Word wrap
    s.Property(20103) = True

Children
No Data