Propiedad LineFormat.BackColor (Word)
Returns or sets a ColorFormat object that represents the background color for a patterned line. Lectura y escritura.
Sintaxis
expresión. BackColor
expresión Variable que representa un objeto LineFormat .
Ejemplo
This example adds a patterned line to the active document.
Dim docActive As Document
Set docActive = ActiveDocument
With docActive.Shapes.AddLine(10, 100, 250, 0).Line
.Weight = 6
.ForeColor.RGB = RGB(0, 0, 255)
.BackColor.RGB = RGB(128, 0, 0)
.Pattern = msoPatternDarkDownwardDiagonal
End With
Vea también
Soporte técnico y comentarios
¿Tiene preguntas o comentarios sobre VBA para Office o esta documentación? Vea Soporte técnico y comentarios sobre VBA para Office para obtener ayuda sobre las formas en las que puede recibir soporte técnico y enviar comentarios.