VisioShapeStyleFluent
OfficeIMO.Visio
The fluent methods of VisioShapeStyle, generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.
Inheritance
- object
- VisioShapeStyleFluent
Methods
public static VisioShapeStyle FillColor(VisioShapeStyle visioShapeStyle, OfficeColor value) #Sets VisioShapeStyle.FillColor: Fill color.
Parameters
- visioShapeStyle OfficeIMO.Visio.VisioShapeStyle
- The instance.
- value OfficeIMO.OfficeColor
- The value.
Examples
// C# initializer or property // C# fluent
visioShapeStyle.FillColor = value; visioShapeStyle.FillColor(value);public static VisioShapeStyle FillPattern(VisioShapeStyle visioShapeStyle, int value) #Sets VisioShapeStyle.FillPattern: Fill pattern index.
Parameters
- visioShapeStyle OfficeIMO.Visio.VisioShapeStyle
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
visioShapeStyle.FillPattern = value; visioShapeStyle.FillPattern(value);public static VisioShapeStyle LineColor(VisioShapeStyle visioShapeStyle, OfficeColor value) #Sets VisioShapeStyle.LineColor: Line color.
Parameters
- visioShapeStyle OfficeIMO.Visio.VisioShapeStyle
- The instance.
- value OfficeIMO.OfficeColor
- The value.
Examples
// C# initializer or property // C# fluent
visioShapeStyle.LineColor = value; visioShapeStyle.LineColor(value);public static VisioShapeStyle LinePattern(VisioShapeStyle visioShapeStyle, int value) #Sets VisioShapeStyle.LinePattern: Line pattern index.
Parameters
- visioShapeStyle OfficeIMO.Visio.VisioShapeStyle
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
visioShapeStyle.LinePattern = value; visioShapeStyle.LinePattern(value);public static VisioShapeStyle LineWeight(VisioShapeStyle visioShapeStyle, double value) #Sets VisioShapeStyle.LineWeight: Line weight in inches.
Parameters
- visioShapeStyle OfficeIMO.Visio.VisioShapeStyle
- The instance.
- value double
- The value.
Examples
// C# initializer or property // C# fluent
visioShapeStyle.LineWeight = value; visioShapeStyle.LineWeight(value);public static VisioShapeStyle TextStyle(VisioShapeStyle visioShapeStyle, VisioTextStyle? value) #Sets VisioShapeStyle.TextStyle: Optional text style to apply with this shape style.
Parameters
- visioShapeStyle OfficeIMO.Visio.VisioShapeStyle
- The instance.
- value OfficeIMO.Visio.VisioTextStyle?
- The value.
Examples
// C# initializer or property // C# fluent
visioShapeStyle.TextStyle = value; visioShapeStyle.TextStyle(value);public static VisioShapeStyle TextStyle(VisioShapeStyle visioShapeStyle, Action<VisioTextStyle> configure) #Configures VisioShapeStyle.TextStyle in place (creating it when not set): Optional text style to apply with this shape style.
Parameters
- visioShapeStyle OfficeIMO.Visio.VisioShapeStyle
- The instance.
- configure System.Action<OfficeIMO.Visio.VisioTextStyle>
- Configures the value.