TextureName 屬性

此頁(yè)沒(méi)有內(nèi)容條目
內(nèi)容

返回指定填充的自定義紋理文件名。String 類型,只讀。

本屬性為只讀屬性??捎?UserPictureUserTextured 方法設(shè)置填充格式的紋理文件。

示例

本示例更改圖表填充格式的自定義紋理類型。

With myChart.ChartArea.Fill

    If .Type = msoFillTextured Then

        If .TextureType = msoTextureUserDefined Then

            If .TextureName = "brick.bmp" Then

               .UserTextured "stone.bmp"

            End If

        End If

    End If

End With