API Reference
Class
VisioShapeStyle
Reusable visual style for Visio shapes.
Inheritance
- Object
- VisioShapeStyle
Usage
Explore 22 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 10
- Method VisioGraphDiagramBuilder.NodeStyle
- Method VisioGraphDiagramBuilder.NodeStyle
- Method VisioFluentPage.StyleContainer
- Method VisioFluentShape.Style
- Method VisioDataGraphic.Badge
- Method VisioDataGraphic.Bar
- 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, Int32 linePattern = 1, Int32 fillPattern = 1) #Initializes a new shape style.
Parameters
- fillColor OfficeIMO.Drawing.OfficeColor
- Fill color.
- lineColor OfficeIMO.Drawing.OfficeColor
- Line color.
- lineWeight System.Double = 0.0138889
- Line weight in inches.
- linePattern System.Int32 = 1
- Line pattern index.
- fillPattern System.Int32 = 1
- Fill pattern index.
Methods
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?
Properties
public VisioTextStyle? TextStyle { get; set; } #Optional text style to apply with this shape style.