Propriedade BulletFormat. Parent (PowerPoint)BulletFormat.Parent property (PowerPoint)
Retorna o objeto parente para o objeto especificado.Returns the parent object for the specified object.
SintaxeSyntax
expressão. Paiexpression.Parent
expressão Uma variável que representa um objeto BulletFormat .expression A variable that represents a BulletFormat object.
Valor de retornoReturn value
ObjetoObject
ExemploExample
Este exemplo adiciona uma elipse contendo texto ao slide um da apresentação ativa e gira a elipse e o texto de 45 graus.This example adds an oval containing text to slide one in the active presentation and rotates the oval and the text 45 degrees. O objeto pai do quadro de texto é o objeto Shape que contém o texto.The parent object for the text frame is the Shape object that contains the text.
Set myShapes = ActivePresentation.Slides(1).Shapes
With myShapes.AddShape(Type:=msoShapeOval, Left:=50, _
Top:=50, Width:=300, Height:=150).TextFrame
.TextRange.Text = "Test text"
.Parent.Rotation = 45
End With
Confira tambémSee also
Objeto BulletFormatBulletFormat Object
Suporte e comentáriosSupport and feedback
Tem dúvidas ou quer enviar comentários sobre o VBA para Office ou sobre esta documentação?Have questions or feedback about Office VBA or this documentation? Confira Suporte e comentários sobre o VBA para Office a fim de obter orientação sobre as maneiras pelas quais você pode receber suporte e fornecer comentários.Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.