Graph VBA教程:Pattern属性

对于 ChartFillFormat对象,返回或设置填充图案,MsoPatternType 类型,只读。 对于 Interior对象,返回或设置内部图案,Variant 类型,可读写。

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

expression Pattern

expression   必需。该表达式返回上面对象之一。

示例

本示例向图形区内部添加十字形图案。


myChart.PlotArea.Interior.Pattern = xlPatternCrissCross

上页:Graph VBA教程:Parent属性 下页:Graph VBA教程:PatternColor属性

Graph VBA教程:Pattern属性

Graph VBA教程:PatternColor属性 Graph VBA教程:PatternColorIndex属性
Graph VBA教程:Period属性 Graph VBA教程:Perspective属性
Graph VBA教程:PictureType属性 Graph VBA教程:PictureUnit属性
Graph VBA教程:Pie3DGroup属性 Graph VBA教程:PlotArea属性
Graph VBA教程:PlotBy属性 Graph VBA教程:PlotOnX属性
Graph VBA教程:Position属性 Graph VBA教程:PresetGradientType属性
Graph VBA教程:PresetTexture属性 Graph VBA教程:RadarAxisLabels属性
Graph VBA教程:Range属性 Graph VBA教程:ReadingOrder属性
Graph VBA教程:ReplacementList属性 Graph VBA教程:ReplaceText属性
Graph VBA教程:ReversePlotOrder属性 Graph VBA教程:RGB属性
版权所有 © 中山市飞娥软件工作室 证书:粤ICP备09170368号