这个流程图展示了 Bumblebee 命名空间中定义的各种枚举类型。以下是对应的说明:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Bumblebee
{
// 边框相关枚举
///
/// 水平边框类型
///
public enum HorizontalBorder { None, Bottom, Top, Both, Between, All };
///
/// 垂直边框类型
///
public enum VerticalBorder { None, Left, Right, Both, Between, All };
///
/// 线条类型
///
public enum LineType { None, Continuous, Dash, DashDot, DashDotDot, Dot, Double, SlantDashDot };
///
/// 边框粗细
///
public enum BorderWeight { Hairline, Thin, Medium, Thick, None };
// 格式化相关枚举
///
/// 对齐方式
///
public enum Justification { BottomLeft, BottomMiddle, BottomRight, CenterLeft, CenterMiddle, CenterRight, TopLeft, TopMiddle, TopRight };
// 条件相关枚举
///
/// 值条件
///
public enum ValueCondition { Greater, GreaterEqual, Less, LessEqual, Equal, NotEqual };
///
/// 平均值条件
///
public enum AverageCondition { AboveAverage, AboveEqualAverage, AboveDeviation, BelowAverage, BelowEqualAverage, BelowDeviation };
// 模块类型枚举
///
/// VB模块类型
///
public enum VbModuleType { ClassModule, Document, MSForm, StdModule, ActiveX};
// 图表相关枚举
///
/// 图表填充类型
///
public enum ChartFill { Cluster, Stack, Fill};
///
/// 径向图表类型
///
public enum RadialChartType { Pie, Pie3D, Donut, Radar, RadarFilled};
///
/// 条形图类型
///
public enum BarChartType { Basic, Box, Pyramid, Cylinder, Cone };
///
/// 线形图类型
///
public enum LineChartType { Line, LineMarkers, Area, Area3d };
///
/// 散点图类型
///
public enum ScatterChartType { Scatter, ScatterLines, ScatterSmooth, Bubble, Bubble3D };
///
/// 表面图类型
///
public enum SurfaceChartType { Surface, SurfaceWireframe, SurfaceTop, SurfaceWireframeTop };
///
/// 图例位置
///
public enum LegendLocations { None, Left, Right, Top, Bottom};
///
/// 标签类型
///
public enum LabelType { None, Value, Category};
///
/// 网格类型
///
public enum GridType { None, Primary, All };
// 形状相关枚举
///
/// 形状列表
///
public enum ShapeList { AlternatingFlow, AlternatingHexagons, BasicBlockList, CircleAccentTimeline, ConvergingArrows, DivergingArrows, Grouped, HorizontalBullet, LinearVenn, Lined, MultidirectionalCycle, NondirectionalCycle, Process, SquareAccent, Stacked, Trapezoid, VerticalAccent, VerticalArrow, VerticalBlock, VerticalBox, VerticalBullet, VerticalCircle };
///
/// 箭头样式
///
public enum ArrowStyle { None, Open, Oval, Diamond, Stealth, Triangle};
///
/// 箭头形状
///
public enum ShapeArrow { Right, Left, Up, Down, LeftRight, UpDown, Quad, LeftRightUp, Bent, UTurn, LeftUp, BentUp, CurvedRight, CurvedLeft, CurvedUp, CurvedDown, StripedRight, NotchedRight, Circular, Swoosh, LeftCircular, LeftRightCircular };
///
/// 星形
///
public enum ShapeStar { Pt4, Pt5, Pt6, Pt7, Pt8, Pt10, Pt12, Pt16, Pt24, Pt32};
///
/// 流程图形状
///
public enum ShapeFlowChart { Process, AlternateProcess, Decision, Data, PredefinedProcess, InternalStorage, Document, Multidocument, Terminator, Preparation, ManualInput, ManualOperation, Connector, OfflineStorage, OffpageConnector, Card, PunchedTape, SummingJunction, Or, Collate, Sort, Extract, Merge, StoredData, Delay, SequentialAccessStorage, MagneticDisk, DirectAccessStorage, Display };
///
/// 符号形状
///
public enum ShapeSymbol { Plus, Minus, Multiply, Divide, Equal, NotEqual, LeftBracket, RightBracket, DoubleBracket, LeftBrace, RightBrace, DoubleBrace };
///
/// 几何形状
///
public enum ShapeGeometry { Rectangle, Parallelogram, Trapezoid, Diamond, RoundedRectangle, Octagon, IsoscelesTriangle, RightTriangle, Oval, Hexagon, Cross, RegularPentagon, Pentagon, Donut, BlockArc, NonIsoscelesTrapezoid, Decagon, Heptagon, Dodecagon, Round1Rectangle, Round2SameRectangle, SnipRoundRectangle, Snip1Rectangle, Snip2SameRectangle, Round2DiagRectangle, Snip2DiagRectangle };
///
/// 图形形状
///
public enum ShapeFigure { Can, Cube, Bevel, FoldedCorner, SmileyFace, NoSymbol, Heart, LightningBolt, Sun, Moon, Arc, Plaque, Cloud, Gear6, Gear9, Funnel, Chevron, Explosion1, Balloon, Explosion2, Wave, DoubleWave, DiagonalStripe, Pie, Frame, HalfFrame, Tear, Chord, Corner, PieWedge };
// 其他枚举
///
/// 文件扩展名
///
public enum Extensions { xlxs, xlxm};
}
HorizontalBorder
和VerticalBorder
可以用来设置单元格的边框,而LineType
和BorderWeight
可以进一步定制边框的外观。RadialChartType.Pie
)到复杂的3D表面图(SurfaceChartType.Surface
),开发者可以创建各种类型的数据可视化。ShapeFlowChart
枚举包含了创建标准流程图所需的所有常见形状。