Propriedade FillFormat. PresetTexture (Word)FillFormat.PresetTexture property (Word)
Retorna a textura predefinida para o preenchimento especificado.Returns the preset texture for the specified fill. Somente leitura MsoPresetTexture.Read-only MsoPresetTexture.
SintaxeSyntax
expressão. PresetTextureexpression.PresetTexture
expressão Obrigatório.expression Required. Uma expressão que retorna um objeto FillFormat.An expression that returns a FillFormat object.
ComentáriosRemarks
Use o método PresetTextured para especificar a textura predefinida para o preenchimento.Use the PresetTextured method to specify the preset texture for the fill.
ExemploExample
Este exemplo adiciona um retângulo a myDocument e define sua textura predefinida, de forma a coincidir com a da forma dois.This example adds a rectangle to myDocument and sets its preset texture to match that of shape two. Para que o exemplo funcione, a forma dois precisa ter um preenchimento texturizado predefinido.For the example to work, shape two must have a preset textured fill.
Set myDocument = ActiveDocument
With myDocument.Shapes
presetTexture2 = .Item(2).Fill.PresetTexture
.AddShape(msoShapeRectangle, 100, 0, 40, 80).Fill _
.PresetTextured presetTexture2
End With
Confira tambémSee also
Objeto FillFormatFillFormat 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.