API Reference

Class

VisioShapeStyle

Namespace OfficeIMO.Visio
Assembly OfficeIMO.Visio
Modifiers sealed

Reusable visual style for Visio shapes.

Inheritance

  • Object
  • VisioShapeStyle

Usage

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

Accepted by parameters

Constructors

public VisioShapeStyle(OfficeColor fillColor, OfficeColor lineColor, Double lineWeight = 0.0138889, Int32 linePattern = 1, Int32 fillPattern = 1) #

Initializes a new shape style.

Parameters

fillColor OfficeIMO.Drawing.OfficeColor requiredposition: 0
Fill color.
lineColor OfficeIMO.Drawing.OfficeColor requiredposition: 1
Line color.
lineWeight System.Double = 0.0138889 optionalposition: 2
Line weight in inches.
linePattern System.Int32 = 1 optionalposition: 3
Line pattern index.
fillPattern System.Int32 = 1 optionalposition: 4
Fill pattern index.

Methods

public Void ApplyTo(VisioShape shape) #
Returns: Void

Applies this style to a shape.

Parameters

shape OfficeIMO.Visio.VisioShape requiredposition: 0
Shape to update.
public VisioShapeStyle Clone() #
Returns: VisioShapeStyle

Creates a detached copy of this style.

Properties

public OfficeColor FillColor { get; set; } #

Fill color.

public OfficeColor LineColor { get; set; } #

Line color.

public Double LineWeight { get; set; } #

Line weight in inches.

public Int32 LinePattern { get; set; } #

Line pattern index.

public Int32 FillPattern { get; set; } #

Fill pattern index.

public VisioTextStyle TextStyle { get; set; } #

Optional text style to apply with this shape style.