PowerPoint.Interfaces.ShapeLineFormatUpdateData interface

An interface for updating data on the ShapeLineFormat object, for use in shapeLineFormat.set({ ... }).

Properties

color

Represents the line color in HTML color format, in the form #RRGGBB (e.g., "FFA500") or as a named HTML color (e.g., "orange").

dashStyle

Represents the dash style of the line. Returns null when the line is not visible or there are inconsistent dash styles. See PowerPoint.ShapeLineDashStyle for details.

style

Represents the line style of the shape. Returns null when the line is not visible or there are inconsistent styles. See PowerPoint.ShapeLineStyle for details.

transparency

Specifies the transparency percentage of the line as a value from 0.0 (opaque) through 1.0 (clear). Returns null when the shape has inconsistent transparencies.

visible

Specifies if the line formatting of a shape element is visible. Returns null when the shape has inconsistent visibilities.

weight

Represents the weight of the line, in points. Returns null when the line is not visible or there are inconsistent line weights.

Property Details

color

Represents the line color in HTML color format, in the form #RRGGBB (e.g., "FFA500") or as a named HTML color (e.g., "orange").

color?: string;

Property Value

string

Remarks

[ API set: PowerPointApi 1.4 ]

dashStyle

Represents the dash style of the line. Returns null when the line is not visible or there are inconsistent dash styles. See PowerPoint.ShapeLineDashStyle for details.

dashStyle?: PowerPoint.ShapeLineDashStyle | "Dash" | "DashDot" | "DashDotDot" | "LongDash" | "LongDashDot" | "RoundDot" | "Solid" | "SquareDot" | "LongDashDotDot" | "SystemDash" | "SystemDot" | "SystemDashDot";

Property Value

PowerPoint.ShapeLineDashStyle | "Dash" | "DashDot" | "DashDotDot" | "LongDash" | "LongDashDot" | "RoundDot" | "Solid" | "SquareDot" | "LongDashDotDot" | "SystemDash" | "SystemDot" | "SystemDashDot"

Remarks

[ API set: PowerPointApi 1.4 ]

style

Represents the line style of the shape. Returns null when the line is not visible or there are inconsistent styles. See PowerPoint.ShapeLineStyle for details.

style?: PowerPoint.ShapeLineStyle | "Single" | "ThickBetweenThin" | "ThickThin" | "ThinThick" | "ThinThin";

Property Value

PowerPoint.ShapeLineStyle | "Single" | "ThickBetweenThin" | "ThickThin" | "ThinThick" | "ThinThin"

Remarks

[ API set: PowerPointApi 1.4 ]

transparency

Specifies the transparency percentage of the line as a value from 0.0 (opaque) through 1.0 (clear). Returns null when the shape has inconsistent transparencies.

transparency?: number;

Property Value

number

Remarks

[ API set: PowerPointApi 1.4 ]

visible

Specifies if the line formatting of a shape element is visible. Returns null when the shape has inconsistent visibilities.

visible?: boolean;

Property Value

boolean

Remarks

[ API set: PowerPointApi 1.4 ]

weight

Represents the weight of the line, in points. Returns null when the line is not visible or there are inconsistent line weights.

weight?: number;

Property Value

number

Remarks

[ API set: PowerPointApi 1.4 ]