Class
VisioShapeStyle
OfficeIMO.Visio
Reusable visual style for Visio shapes.
Inheritance
- object
- VisioShapeStyle
Usage
Explore 21 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 12
- Property VisioCalloutOptions.ShapeStyle
- Property VisioContainerOptions.ShapeStyle
- Property VisioDataGraphicItem.BadgeStyle
- Property VisioDataGraphicItem.BarBackgroundStyle
- Property VisioDataGraphicItem.BarFillStyle
- Method VisioShapeStyle.Clone
- Property VisioStyleTheme.Container
- Property VisioStyleTheme.Decision
- Property VisioStyleTheme.Emphasis
- Property VisioStyleTheme.Marker
- Property VisioStyleTheme.Primary
- Property VisioStyleTheme.Success
Accepted by parameters 9
- Method VisioGraphDiagramBuilder.NodeStyle
- Method VisioGraphDiagramBuilder.NodeStyle
- Method VisioDataGraphic.Badge
- Method VisioDataGraphic.Bar
- Method VisioPage.StyleContainer
- Extension method VisioShape.ApplyStyle
- Extension method VisioShapeSelection.ApplyStyle
- Method VisioShapeSelection.Style
- Method VisioStyleExtensions.ApplyStyle
Constructors
public VisioShapeStyle(OfficeColor fillColor, OfficeColor lineColor, double lineWeight = 0.0138889, int linePattern = 1, int fillPattern = 1) #Initializes a new shape style.
Parameters
- fillColor OfficeIMO.OfficeColor
- Fill color.
- lineColor OfficeIMO.OfficeColor
- Line color.
- lineWeight double = 0.0138889
- Line weight in inches.
- linePattern int = 1
- Line pattern index.
- fillPattern int = 1
- Fill pattern index.
Methods
public void ApplyTo(VisioShape shape) #Applies this style to a shape.
Parameters
- shape OfficeIMO.Visio.VisioShape
- Shape to update.
Inherited Methods
Properties
public VisioTextStyle? TextStyle { get; set; } #Optional text style to apply with this shape style.