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

Explore 1 API references to this type

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

Returned or exposed by 1

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 UInt32? FillType { get; } #

Gets the MSOFILLTYPE value.

public OfficeArtColorReference? FillColor { get; } #

Gets the fill color reference.

public Double? FillOpacity { get; } #

Gets fill opacity from 0 through 1.

public OfficeArtColorReference? FillBackColor { get; } #

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

public Double? FillBackOpacity { get; } #

Gets fill-background opacity from 0 through 1.

public Int32? FillBlipStoreIndex { get; } #

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

public Double? FillAngleDegrees { get; } #

Gets the signed 16.16 gradient angle in counterclockwise degrees.

public Int32? FillFocusPercent { get; } #

Gets the gradient focus position from -100 through 100.

public UInt32? FillShadeType { get; } #

Gets the native MSOSHADETYPE interpolation flags, or null when inherited.

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 Boolean? FillEnabled { get; } #

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

public Boolean? FillRotatesWithShape { get; } #

Gets whether the fill explicitly rotates with its shape, or null when inherited.

public Boolean? FillAlignedWithShape { get; } #

Gets whether the fill is explicitly aligned to the shape rather than the view origin, or null when inherited.

public Boolean? FillUsesCustomRectangle { get; } #

Gets whether an explicit fill rectangle replaces the shape bounds, or null when inherited.

public OfficeArtColorReference? LineColor { get; } #

Gets the line color reference.

public Double? LineOpacity { get; } #

Gets line opacity from 0 through 1.

public UInt32? LineType { get; } #

Gets the MSOLINETYPE value.

public Int32? LineWidthEmus { get; } #

Gets the line width in English Metric Units.

public Double? LineMiterLimit { get; } #

Gets the fixed-point maximum miter length as a multiple of the line width, or null when inherited.

public UInt32? LineStyle { get; } #

Gets the MSOLINESTYLE value.

public UInt32? LineDashing { get; } #

Gets the MSOLINEDASHING value.

public UInt32? LineStartArrowhead { get; } #

Gets the start MSOLINEEND value.

public UInt32? LineEndArrowhead { get; } #

Gets the end MSOLINEEND value.

public UInt32? LineStartArrowWidth { get; } #

Gets the start MSOLINEENDWIDTH value.

public UInt32? LineStartArrowLength { get; } #

Gets the start MSOLINEENDLENGTH value.

public UInt32? LineEndArrowWidth { get; } #

Gets the end MSOLINEENDWIDTH value.

public UInt32? LineEndArrowLength { get; } #

Gets the end MSOLINEENDLENGTH value.

public UInt32? LineJoinStyle { get; } #

Gets the MSOLINEJOIN value.

public UInt32? LineEndCapStyle { get; } #

Gets the MSOLINECAP value.

public Boolean? LineEnabled { get; } #

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

public UInt32? ShadowType { get; } #

Gets the MSOSHADOWTYPE value.

public OfficeArtColorReference? ShadowColor { get; } #

Gets the primary shadow color reference.

public Double? ShadowOpacity { get; } #

Gets shadow opacity from 0 through 1.

public Int32? ShadowOffsetXEmus { get; } #

Gets the signed horizontal shadow offset in English Metric Units.

public Int32? ShadowOffsetYEmus { get; } #

Gets the signed vertical shadow offset in English Metric Units.

public Int32? ShadowSoftnessEmus { get; } #

Gets the shadow blur radius in English Metric Units.

public Boolean? ShadowEnabled { get; } #

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

public Boolean? PreferRelativeResize { get; } #

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

public Boolean? LockShapeType { get; } #

Gets whether changing the shape type is explicitly locked.

public 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.