Propiedad InlineShape.IsPictureBullet (Word)

True indica que un objeto InlineShape es una viñeta de imagen. Boolean de solo lectura.

Sintaxis

expresión. IsPictureBullet

Expresión Expresión que devuelve un objeto "InlineShape".

Comentarios

Aunque las viñetas de imagen se consideran formas entre líneas, la búsqueda en la colección InlineShapes de un documento no devuelve viñetas de imagen.

Ejemplo:

En este ejemplo se da formato a la lista seleccionada si a la lista se le ha dado formato con viñetas de imagen. Si no tiene este formato, se muestra un mensaje.

Sub IsSelectionAPictureBullet(shp As InlineShape) 
 On Error GoTo ErrorHandler 
 If shp.IsPictureBullet = True Then 
 shp.Width = InchesToPoints(0.5) 
 shp.Height = InchesToPoints(0.05) 
 End If 
 Exit Sub 
ErrorHandler: 
 MsgBox "The selection is not a list or " & _ 
 "does not contain picture bullets." 
End Sub

Utilice el siguiente código para llamar a la rutina anterior.

Sub CallPic() 
 Call IsSelectionAPictureBullet(shp:=Selection _ 
 .Range.ListFormat.ListPictureBullet) 
End Sub

Consulte también

Objeto InlineShape

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.