ExcelScript.GeometricShapeType enum
GeometricShape
オブジェクトの図形の種類を指定します。
注釈
例
/**
* This script creates a hexagon shape on the current worksheet.
*/
function main(workbook: ExcelScript.Workbook) {
const currentSheet = workbook.getActiveWorksheet();
const hexagon: ExcelScript.Shape =
currentSheet.addGeometricShape(ExcelScript.GeometricShapeType.hexagon);
// Set the hexagon size to 40x40 pixels.
hexagon.setHeight(40);
hexagon.setWidth(40);
// Position the hexagon at [100,100] pixels.
hexagon.setLeft(100);
hexagon.setTop(100);
}
フィールド
accentBorderCallout1 | |
accentBorderCallout2 | |
accentBorderCallout3 | |
accentCallout1 | |
accentCallout2 | |
accentCallout3 | |
actionButtonBackPrevious | |
actionButtonBeginning | |
actionButtonBlank | |
actionButtonDocument | |
actionButtonEnd | |
actionButtonForwardNext | |
actionButtonHelp | |
actionButtonHome | |
actionButtonInformation | |
actionButtonMovie | |
actionButtonReturn | |
actionButtonSound | |
arc | |
bentArrow | |
bentUpArrow | |
bevel | |
blockArc | |
borderCallout1 | |
borderCallout2 | |
borderCallout3 | |
bracePair | |
bracketPair | |
callout1 | |
callout2 | |
callout3 | |
can | |
chartPlus | |
chartStar | |
chartX | |
chevron | |
chord | |
circularArrow | |
cloud | |
cloudCallout | |
corner | |
cornerTabs | |
cube | |
curvedDownArrow | |
curvedLeftArrow | |
curvedRightArrow | |
curvedUpArrow | |
decagon | |
diagonalStripe | |
diamond | |
dodecagon | |
donut | |
doubleWave | |
downArrow | |
downArrowCallout | |
ellipse | |
ellipseRibbon | |
ellipseRibbon2 | |
flowChartAlternateProcess | |
flowChartCollate | |
flowChartConnector | |
flowChartDecision | |
flowChartDelay | |
flowChartDisplay | |
flowChartDocument | |
flowChartExtract | |
flowChartInputOutput | |
flowChartInternalStorage | |
flowChartMagneticDisk | |
flowChartMagneticDrum | |
flowChartMagneticTape | |
flowChartManualInput | |
flowChartManualOperation | |
flowChartMerge | |
flowChartMultidocument | |
flowChartOfflineStorage | |
flowChartOffpageConnector | |
flowChartOnlineStorage | |
flowChartOr | |
flowChartPredefinedProcess | |
flowChartPreparation | |
flowChartProcess | |
flowChartPunchedCard | |
flowChartPunchedTape | |
flowChartSort | |
flowChartSummingJunction | |
flowChartTerminator | |
foldedCorner | |
frame | |
funnel | |
gear6 | |
gear9 | |
halfFrame | |
heart | |
heptagon | |
hexagon | |
homePlate | |
horizontalScroll | |
irregularSeal1 | |
irregularSeal2 | |
leftArrow | |
leftArrowCallout | |
leftBrace | |
leftBracket | |
leftCircularArrow | |
leftRightArrow | |
leftRightArrowCallout | |
leftRightCircularArrow | |
leftRightRibbon | |
leftRightUpArrow | |
leftUpArrow | |
lightningBolt | |
lineInverse | |
mathDivide | |
mathEqual | |
mathMinus | |
mathMultiply | |
mathNotEqual | |
mathPlus | |
moon | |
nonIsoscelesTrapezoid | |
noSmoking | |
notchedRightArrow | |
octagon | |
parallelogram | |
pentagon | |
pie | |
pieWedge | |
plaque | |
plaqueTabs | |
plus | |
quadArrow | |
quadArrowCallout | |
rectangle | |
ribbon | |
ribbon2 | |
rightArrow | |
rightArrowCallout | |
rightBrace | |
rightBracket | |
rightTriangle | |
round1Rectangle | |
round2DiagonalRectangle | |
round2SameRectangle | |
roundRectangle | |
smileyFace | |
snip1Rectangle | |
snip2DiagonalRectangle | |
snip2SameRectangle | |
snipRoundRectangle | |
squareTabs | |
star10 | |
star12 | |
star16 | |
star24 | |
star32 | |
star4 | |
star5 | |
star6 | |
star7 | |
star8 | |
stripedRightArrow | |
sun | |
swooshArrow | |
teardrop | |
trapezoid | |
triangle | |
upArrow | |
upArrowCallout | |
upDownArrow | |
upDownArrowCallout | |
uturnArrow | |
verticalScroll | |
wave | |
wedgeEllipseCallout | |
wedgeRectCallout | |
wedgeRRectCallout |
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Office Scripts