【C#】【EXCEL】Bumblebee/Classes/ExEnums.cs

devtools/2024/10/19 23:47:10/

文章目录

    • Bumblebee/Classes/ExEnums.cs
      • Flow diagram
      • Description
      • Code

Bumblebee/Classes/ExEnums.cs

Flow diagram

Bumblebee Namespace
Bumblebee 命名空间
Enums
枚举类型
Border Enums
边框相关枚举
Formatting Enums
格式化相关枚举
Chart Enums
图表相关枚举
Shape Enums
形状相关枚举
Other Enums
其他枚举
HorizontalBorder
水平边框
VerticalBorder
垂直边框
LineType
线条类型
BorderWeight
边框粗细
Justification
对齐方式
ChartFill
图表填充
RadialChartType
径向图表类型
BarChartType
条形图类型
LineChartType
线形图类型
ScatterChartType
散点图类型
SurfaceChartType
表面图类型
LegendLocations
图例位置
LabelType
标签类型
GridType
网格类型
ShapeList
形状列表
ArrowStyle
箭头样式
ShapeArrow
箭头形状
ShapeStar
星形
ShapeFlowChart
流程图形状
ShapeSymbol
符号形状
ShapeGeometry
几何形状
ShapeFigure
图形形状
ValueCondition
值条件
AverageCondition
平均值条件
VbModuleType
VB模块类型
Extensions
扩展名

Description

这个流程图展示了 Bumblebee 命名空间中定义的各种枚举类型。以下是对应的说明:

  1. Bumblebee Namespace (Bumblebee 命名空间)
    • 包含所有定义的枚举类型
  2. Enums (枚举类型)
    • 分为几个主要类别
  3. Border Enums (边框相关枚举)
    • HorizontalBorder (水平边框)
    • VerticalBorder (垂直边框)
    • LineType (线条类型)
    • BorderWeight (边框粗细)
  4. Formatting Enums (格式化相关枚举)
    • Justification (对齐方式)
  5. Chart Enums (图表相关枚举)
    • ChartFill (图表填充)
    • RadialChartType (径向图表类型)
    • BarChartType (条形图类型)
    • LineChartType (线形图类型)
    • ScatterChartType (散点图类型)
    • SurfaceChartType (表面图类型)
    • LegendLocations (图例位置)
    • LabelType (标签类型)
    • GridType (网格类型)
  6. Shape Enums (形状相关枚举)
    • ShapeList (形状列表)
    • ArrowStyle (箭头样式)
    • ShapeArrow (箭头形状)
    • ShapeStar (星形)
    • ShapeFlowChart (流程图形状)
    • ShapeSymbol (符号形状)
    • ShapeGeometry (几何形状)
    • ShapeFigure (图形形状)
  7. Other Enums (其他枚举)
    • ValueCondition (值条件)
    • AverageCondition (平均值条件)
    • VbModuleType (VB模块类型)
    • Extensions (扩展名)

Code

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;namespace Bumblebee
{// 边框相关枚举/// <summary>/// 水平边框类型/// </summary>public enum HorizontalBorder { None, Bottom, Top, Both, Between, All };/// <summary>/// 垂直边框类型/// </summary>public enum VerticalBorder { None, Left, Right, Both, Between, All };/// <summary>/// 线条类型/// </summary>public enum LineType { None, Continuous, Dash, DashDot, DashDotDot, Dot, Double, SlantDashDot };/// <summary>/// 边框粗细/// </summary>public enum BorderWeight { Hairline, Thin, Medium, Thick, None };// 格式化相关枚举/// <summary>/// 对齐方式/// </summary>public enum Justification { BottomLeft, BottomMiddle, BottomRight, CenterLeft, CenterMiddle, CenterRight, TopLeft, TopMiddle, TopRight };// 条件相关枚举/// <summary>/// 值条件/// </summary>public enum ValueCondition { Greater, GreaterEqual, Less, LessEqual, Equal, NotEqual };/// <summary>/// 平均值条件/// </summary>public enum AverageCondition { AboveAverage, AboveEqualAverage, AboveDeviation, BelowAverage, BelowEqualAverage, BelowDeviation };// 模块类型枚举/// <summary>/// VB模块类型/// </summary>public enum VbModuleType { ClassModule, Document, MSForm, StdModule, ActiveX};// 图表相关枚举/// <summary>/// 图表填充类型/// </summary>public enum ChartFill { Cluster, Stack, Fill};/// <summary>/// 径向图表类型/// </summary>public enum RadialChartType { Pie, Pie3D, Donut, Radar, RadarFilled};/// <summary>/// 条形图类型/// </summary>public enum BarChartType { Basic, Box, Pyramid, Cylinder, Cone };/// <summary>/// 线形图类型/// </summary>public enum LineChartType { Line, LineMarkers, Area, Area3d };/// <summary>/// 散点图类型/// </summary>public enum ScatterChartType { Scatter, ScatterLines, ScatterSmooth, Bubble, Bubble3D };/// <summary>/// 表面图类型/// </summary>public enum SurfaceChartType { Surface, SurfaceWireframe, SurfaceTop, SurfaceWireframeTop };/// <summary>/// 图例位置/// </summary>public enum LegendLocations { None, Left, Right, Top, Bottom};/// <summary>/// 标签类型/// </summary>public enum LabelType { None, Value, Category};/// <summary>/// 网格类型/// </summary>public enum GridType { None, Primary, All };// 形状相关枚举/// <summary>/// 形状列表/// </summary>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 };/// <summary>/// 箭头样式/// </summary>public enum ArrowStyle { None, Open, Oval, Diamond, Stealth, Triangle};/// <summary>/// 箭头形状/// </summary>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 };/// <summary>/// 星形/// </summary>public enum ShapeStar { Pt4, Pt5, Pt6, Pt7, Pt8, Pt10, Pt12, Pt16, Pt24, Pt32};/// <summary>/// 流程图形状/// </summary>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 };/// <summary>/// 符号形状/// </summary>public enum ShapeSymbol { Plus, Minus, Multiply, Divide, Equal, NotEqual, LeftBracket, RightBracket, DoubleBracket, LeftBrace, RightBrace, DoubleBrace };/// <summary>/// 几何形状/// </summary>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 };/// <summary>/// 图形形状/// </summary>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 };// 其他枚举/// <summary>/// 文件扩展名/// </summary>public enum Extensions { xlxs, xlxm};
}
  1. 边框相关枚举:这些枚举用于定义电子表格或文档中的边框样式。例如,HorizontalBorderVerticalBorder可以用来设置单元格的边框,而LineTypeBorderWeight可以进一步定制边框的外观。
  2. 图表相关枚举:这组枚举提供了丰富的图表类型和样式选项。从基本的饼图(RadialChartType.Pie)到复杂的3D表面图(SurfaceChartType.Surface),开发者可以创建各种类型的数据可视化。
  3. 形状相关枚举:这些枚举提供了广泛的形状选项,可用于创建复杂的图表、流程图或其他视觉元素。例如,ShapeFlowChart枚举包含了创建标准流程图所需的所有常见形状。

http://www.ppmy.cn/devtools/100401.html

相关文章

建筑楼宇电气安全与能效管理

随着建筑业的发展&#xff0c;配电系统在楼宇建筑特别是高层建筑中的比重也随之加大。现代的建筑的功能越来越完善&#xff0c;变配电工程、空调工程、机电工程、电梯工程、消防工程等工程设施设备与建筑体相结合&#xff0c;敷设的电气线路变得更为复杂&#xff0c;火灾隐患明…

leetcode 数组+哈希+双指针+子串+滑动窗口

——————双指针 283. 移动零 给定一个数组 nums&#xff0c;编写一个函数将所有 0 移动到数组的末尾&#xff0c;同时保持非零元素的相对顺序。 请注意 &#xff0c;必须在不复制数组的情况下原地对数组进行操作。 示例 1: 输入: nums [0,1,0,3,12] 输出: [1,3,12,0,0] …

如何利用命令模式实现一个手游后端架构

命令模式&#xff08;Command Pattern&#xff09;是一种行为设计模式&#xff0c;它允许将请求封装为对象&#xff0c;从而使用不同的请求、队列、日志来参数化其他对象。命令模式也支持可撤销的操作。虽然命令模式在图形用户界面&#xff08;GUI&#xff09;编程中最为常见&a…

【精选】基于django柚子校园影院(咨询+解答+辅导)

博主介绍&#xff1a; ✌我是阿龙&#xff0c;一名专注于Java技术领域的程序员&#xff0c;全网拥有10W粉丝。作为CSDN特邀作者、博客专家、新星计划导师&#xff0c;我在计算机毕业设计开发方面积累了丰富的经验。同时&#xff0c;我也是掘金、华为云、阿里云、InfoQ等平台…

C语言与Python的区别

一、言语类型Python是一种基于解说器的言语&#xff0c;解说器会逐行读取代码&#xff1b;首先将Python编译为字节码&#xff0c;然后由大型C程序解说&#xff1b;C是一种编译言语&#xff0c;完好的源代码将直接编译为机器代码&#xff0c;由CPU直接履行。 二、内存办理Python…

使用Rclone从Google Drive 下载大文件

前言 使用浏览器、或FDM、wget、curl等下载工具&#xff0c;从 Google Drive 下载大文件时经常会遇到中断或下载失败的情况&#xff0c;这一般是由于网络不稳定、Google Drive 的限制、或文件太大导致。 虽然使用 gdown 能一定程度避免上述问题&#xff0c;但对于非常大的文件…

储能bms-下电延时方案分享

下电延时功能在很多bms方案中是很常见的&#xff0c;主要是用来存储SOC,故障码&#xff0c;以及电池的一些重要信息&#xff0c;下图展示的是一种实现方案&#xff0c;VCC5V_A_ENIN在硬件上直接连接到三极管的后端&#xff0c;在ACC信号给过来之后&#xff0c;跳过三极管&#…

基于matlab的深度学习案例及基础知识专栏前言

专栏简介 内容涵盖深度学习基础知识、深度学习典型案例、深度学习工程文件、信号处理等相关内容&#xff0c;博客由基于matlab的深度学习案例、matlab基础知识、matlab图像基础知识和matlab信号处理基础知识四部分组成。 一、 基于matlab的深度学习案例 1.1、matlab:基于模…