Graph VBA教程:Patterned方法

设置指定填充的图案。

expression.Patterned(Pattern)

expression   必需。该表达式返回“应用于”列表中的对象之一。

Pattern  MsoPatternType 类型,必需。图案的类型。

MsoPatternType 可为以下 MsoPatternType 常量之一。
msoPattern10Percent
msoPattern20Percent
msoPattern25Percent
msoPattern30Percent
msoPattern40Percent
msoPattern50Percent
msoPattern5Percent
msoPattern60Percent
msoPattern70Percent
msoPattern75Percent
msoPattern80Percent
msoPattern90Percent
msoPatternDarkDownwardDiagonal
msoPatternDarkHorizontal
msoPatternDarkUpwardDiagonal
msoPatternDarkVertical
msoPatternDashedDownwardDiagonal
msoPatternDashedHorizontal
msoPatternDashedUpwardDiagonal
msoPatternDashedVertical
msoPatternDiagonalBrick
msoPatternDivot
msoPatternDottedDiamond
msoPatternDottedGrid
msoPatternHorizontalBrick
msoPatternLargeCheckerBoard
msoPatternLargeConfetti
msoPatternLargeGrid
msoPatternLightDownwardDiagonal
msoPatternLightHorizontal
msoPatternLightUpwardDiagonal
msoPatternLightVertical
msoPatternMixed
msoPatternNarrowHorizontal
msoPatternNarrowVertical
msoPatternOutlinedDiamond
msoPatternPlaid
msoPatternShingle
msoPatternSmallCheckerBoard
msoPatternSmallConfetti
msoPatternSmallGrid
msoPatternSolidDiamond
msoPatternSphere
msoPatternTrellis
msoPatternWave
msoPatternWeave
msoPatternWideDownwardDiagonal
msoPatternWideUpwardDiagonal
msoPatternZigZag

示例

本示例设置填充图案。


With myChart.ChartArea.Fill
    .Patterned msoPatternDiagonalBrick
    .Visible = True
End With

上页:Graph VBA教程:Paste方法 下页:Graph VBA教程:PieGroups方法

Graph VBA教程:Patterned方法

Graph VBA教程:PieGroups方法 Graph VBA教程:Points方法
Graph VBA教程:PresetGradient方法 Graph VBA教程:PresetTextured方法
Graph VBA教程:Quit方法 Graph VBA教程:RadarGroups方法
Graph VBA教程:Refresh方法 Graph VBA教程:ReplacementList Property
Graph VBA教程:SaveAs方法 Graph VBA教程:SaveAsOldFileFormat方法
Graph VBA教程:SeriesCollection方法 Graph VBA教程:SetDefaultChart方法
Graph VBA教程:SetEchoOn方法 Graph VBA教程:Solid方法
Graph VBA教程:Trendlines方法 Graph VBA教程:TwoColorGradient方法
Graph VBA教程:Update方法 Graph VBA教程:UserPicture方法
Graph VBA教程:UserTextured方法 Graph VBA教程:XYGroups方法
版权所有 © 中山市飞娥软件工作室 证书:粤ICP备09170368号