Oharra
Orrialde honetara sartzeak baimena behar du. Saioa hasteko edo direktorioak aldatzen saia zaitezke.
Orrialde honetara sartzeak baimena behar du. Direktorioak aldatzen saia zaitezke.
Representa el marco de texto en un objeto Shape. Contiene el texto del marco así como las propiedades y métodos que controlan la alineación y fijación del marco de texto.
Observaciones
Utilice la propiedad TextFrame del objeto Shape para devolver un objeto TextFrame .
Ejemplo
En el siguiente ejemplo se agrega un rectángulo a myDocument, se agrega texto al rectángulo y, a continuación, se establecen los márgenes del marco de texto.
Set myDocument = Worksheets(1)
With myDocument.Shapes.AddShape(msoShapeRectangle, _
0, 0, 250, 140).TextFrame
.Characters.Text = "Here is some test text"
.MarginBottom = 10
.MarginLeft = 10
.MarginRight = 10
.MarginTop = 10
End With
Métodos
Propiedades
- Application
- AutoMargins
- AutoSize
- Creator
- HorizontalAlignment
- HorizontalOverflow
- MarginBottom
- MarginLeft
- MarginRight
- MarginTop
- Orientación
- Parent
- ReadingOrder
- VerticalAlignment
- VerticalOverflow
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.