You are viewing limited content. For full access, please sign in.

Question

Question

Agregar marca de agua a un tag WF-SDK

asked on May 25, 2015

Estoy creando un Tag desde un SDK de Workflow.

Sin embargo tengo problemas con la propiedad "LFTag.WatermarkText" ya que al ejecutar el código da el siguiente error:

Alguna idea de porque sucede esto.

0 0

Answer

SELECTED ANSWER
replied on May 25, 2015 Show version history

Estimado Esteban,

El problema se debe ha que no estas definiendo el tamaño del texto, solo agrega un valor a la propiedad WatermarkTextSize (20,50,75,95) y se creará la etiqueta.

 

        Protected Overrides Sub Execute()
            'Escriba su código aquí. La propiedad BoundEntryInfo accederá a la entrada, RASession obtendrá la sesión Acceso al repositorio
            Dim LFTag as new TagInfo
            LFTag.Name = TokenReplace("HOLA")
            lftag.Description = "Prueba uno"
            LFTag.IsSecure=True
            lftag.WatermarkText="Marca de agua"

            '''Agregar
            lftag.WatermarkTextSize = 95
            
            lFTag.WatermarkRotationAngle=300
            LFTag.WatermarkPosition=2
            Tag.Create(LFTag,False,me.Connection)
                       
            MsgBox("tag creado")
            
        End Sub

 

2 0

Replies

replied on May 26, 2015

Muchas gracias voy a probar

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.