API Reference
Class
VisioFluentShape
Fluent helper for configuring a shape (text, stroke, fill).
Inheritance
- Object
- VisioFluentShape
Constructors
VisioFluentShape(OfficeIMO.Visio.VisioShape shape) #Initializes a new shape wrapper.
Parameters
- shape OfficeIMO.Visio.VisioShape
- Underlying shape model.
Methods
public VisioFluentShape Fill(Color color, Int32 pattern = 1) #Returns:
VisioFluentShapeSets fill color and optional pattern.
Parameters
- color SixLabors.ImageSharp.Color
- Fill color.
- pattern System.Int32 = 1
- Fill pattern index (default 1=Solid).
public VisioFluentShape Stroke(Color color, Double weight = 0.0138889, Int32 pattern = 1) #Returns:
VisioFluentShapeSets stroke color, weight (inches), and optional pattern.
Parameters
- color SixLabors.ImageSharp.Color
- Line color.
- weight System.Double = 0.0138889
- Line weight in inches.
- pattern System.Int32 = 1
- Line pattern index (default 1=Solid).
public VisioFluentShape Text(String text) #Returns:
VisioFluentShapeSets shape text.
Parameters
- text System.String
- Text content.
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object