ApplyPictToFront 属性 (PowerPoint)Point.ApplyPictToFront property (PowerPoint)

如果图片应用于系列中数据点或所有数据点之前,则该属性值为 TrueTrue if a picture is applied to the front of the point or all points in the series. 读/写 BooleanRead/write Boolean.



_表达式_一个代表 "Point" 对象的变量。expression A variable that represents a 'Point' object.



[!注释] 尽管下面的代码适用于 Microsoft Word,但您可以轻松地对其进行修改以将其应用于 PowerPoint。Although the following code applies to Microsoft Word, you can readily modify it to apply to PowerPoint.

以下示例将图片应用于活动文档中第一个图表上第一个系列中的所有数据点之前。The following example applies pictures to the front of all points in the first series of the first chart in the active document. 图片必须已应用于该系列(设置此属性将更改图片的方向)。The series must already have pictures applied to it (setting this property changes the picture orientation).

With ActiveDocument.InlineShapes(1)

    If .HasChart Then

        .Chart.SeriesCollection(1).ApplyPictToFront = True

    End If

End With

另请参阅See also

Point 对象Point Object

支持和反馈Support and feedback

有关于 Office VBA 或本文档的疑问或反馈?Have questions or feedback about Office VBA or this documentation? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.