Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

OfficeArtShapeStyle

Namespace OfficeIMO.Drawing.Binary
Assembly OfficeIMO.Core
Modifiers sealed

Decodes common fill, line, and shadow state from an OfficeArt property table. Numeric enum values remain available so application-specific projectors can map them without loss.

Inheritance

  • Object
  • OfficeArtShapeStyle

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by

Methods

public static OfficeArtShapeStyle Decode(IReadOnlyList<OfficeArtProperty> properties) #
Returns: OfficeArtShapeStyle

Decodes a shape style from OfficeArt properties.

Parameters

properties System.Collections.Generic.IReadOnlyList{OfficeIMO.Drawing.Binary.OfficeArtProperty} requiredposition: 0

Properties

public IReadOnlyList<OfficeArtProperty> Properties { get; } #

Gets the source property entries.

public Nullable<UInt32> FillType { get; } #

Gets the MSOFILLTYPE value.

public Nullable<OfficeArtColorReference> FillColor { get; } #

Gets the fill color reference.

public Nullable<Double> FillOpacity { get; } #

Gets fill opacity from 0 through 1.

public Nullable<OfficeArtColorReference> FillBackColor { get; } #

Gets the fill background color reference used by patterns and gradients.

public Nullable<Double> FillBackOpacity { get; } #

Gets fill-background opacity from 0 through 1.

public Nullable<Int32> FillBlipStoreIndex { get; } #

Gets the one-based BLIP store index used by picture, texture, or pattern fills.

public Nullable<Double> FillAngleDegrees { get; } #

Gets the signed 16.16 gradient angle in counterclockwise degrees.

public Nullable<Int32> FillFocusPercent { get; } #

Gets the gradient focus position from -100 through 100.

public IReadOnlyList<OfficeArtGradientStop> FillGradientStops { get; } #

Gets decoded MSOSHADECOLOR gradient stops in source order.

public Boolean IsFillGradientStopTableTruncated { get; } #

Gets whether a declared gradient-stop array is malformed or truncated.

public Nullable<Boolean> FillEnabled { get; } #

Gets explicit fill visibility, or null when the property inherits its default.

public Nullable<OfficeArtColorReference> LineColor { get; } #

Gets the line color reference.

public Nullable<Double> LineOpacity { get; } #

Gets line opacity from 0 through 1.

public Nullable<UInt32> LineType { get; } #

Gets the MSOLINETYPE value.

public Nullable<Int32> LineWidthEmus { get; } #

Gets the line width in English Metric Units.

public Nullable<UInt32> LineStyle { get; } #

Gets the MSOLINESTYLE value.

public Nullable<UInt32> LineDashing { get; } #

Gets the MSOLINEDASHING value.

public Nullable<UInt32> LineStartArrowhead { get; } #

Gets the start MSOLINEEND value.

public Nullable<UInt32> LineEndArrowhead { get; } #

Gets the end MSOLINEEND value.

public Nullable<UInt32> LineStartArrowWidth { get; } #

Gets the start MSOLINEENDWIDTH value.

public Nullable<UInt32> LineStartArrowLength { get; } #

Gets the start MSOLINEENDLENGTH value.

public Nullable<UInt32> LineEndArrowWidth { get; } #

Gets the end MSOLINEENDWIDTH value.

public Nullable<UInt32> LineEndArrowLength { get; } #

Gets the end MSOLINEENDLENGTH value.

public Nullable<UInt32> LineJoinStyle { get; } #

Gets the MSOLINEJOIN value.

public Nullable<UInt32> LineEndCapStyle { get; } #

Gets the MSOLINECAP value.

public Nullable<Boolean> LineEnabled { get; } #

Gets explicit line visibility, or null when the property inherits its default.

public Nullable<UInt32> ShadowType { get; } #

Gets the MSOSHADOWTYPE value.

public Nullable<OfficeArtColorReference> ShadowColor { get; } #

Gets the primary shadow color reference.

public Nullable<Double> ShadowOpacity { get; } #

Gets shadow opacity from 0 through 1.

public Nullable<Int32> ShadowOffsetXEmus { get; } #

Gets the signed horizontal shadow offset in English Metric Units.

public Nullable<Int32> ShadowOffsetYEmus { get; } #

Gets the signed vertical shadow offset in English Metric Units.

public Nullable<Int32> ShadowSoftnessEmus { get; } #

Gets the shadow blur radius in English Metric Units.

public Nullable<Boolean> ShadowEnabled { get; } #

Gets explicit shadow visibility, or null when the property inherits its default.

public Nullable<Boolean> PreferRelativeResize { get; } #

Gets whether the resizing user interface explicitly prefers values relative to the original shape size.

public Nullable<Boolean> LockShapeType { get; } #

Gets whether changing the shape type is explicitly locked.

public Nullable<Boolean> Hidden { get; } #

Gets whether the shape is explicitly hidden from display.

public Boolean CanRewriteHiddenState { get; } #

Gets whether the hidden-state bits can be rewritten while preserving every unrelated Group Shape Boolean property.

public Boolean HasProjectableStyle { get; } #

Gets whether this style includes fill or line values that can be projected directly.

public Boolean HasProjectableShadow { get; } #

Gets whether an enabled offset shadow can be projected directly.

public Boolean HasUnprojectedVisualStyle { get; } #

Gets whether enabled visual state requires a richer projector than solid fills and lines.

public Boolean CanRewriteProjectedVisualStyle { get; } #

Gets whether every source fill, line, and shadow property is owned by the editable solid-style projection and can therefore be rewritten without discarding an opaque visual property.