PowerPoint.ShapeLineDashStyle enum
線の実線/点線のスタイルを指定します。
注釈
[ API セット: PowerPointApi 1.4 ]
例
// Link to full sample: https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/shapes/get-shapes-by-type.yaml
// Changes the dash style of every line in the slide.
await PowerPoint.run(async (context) => {
// Get the type of shape for every shape in the collection.
const shapes = context.presentation.slides.getItemAt(0).shapes;
shapes.load("type");
await context.sync();
// Change the dash style for shapes of the type `line`.
shapes.items.forEach((shape) => {
if (shape.type === PowerPoint.ShapeType.line) {
shape.lineFormat.dashStyle = PowerPoint.ShapeLineDashStyle.dashDot;
}
});
await context.sync();
});
フィールド
dash = "Dash" | 破線パターン |
dashDot = "DashDot" | 破線パターン |
dashDotDot = "DashDotDot" | ダッシュドットドットの線パターン |
longDash = "LongDash" | 長い破線パターン |
longDashDot = "LongDashDot" | 長い破線パターン |
longDashDotDot = "LongDashDotDot" | 長いダッシュ ドットドットの線パターン |
roundDot = "RoundDot" | 丸いドット線パターン |
solid = "Solid" | 実線パターン |
squareDot = "SquareDot" | 正方形のドット 線パターン |
systemDash = "SystemDash" | システム破線パターン |
systemDashDot = "SystemDashDot" | システムの破線パターン |
systemDot = "SystemDot" | システムドットラインパターン |
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Office Add-ins
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示