FillPattern(String, FillPatternTarget, FillPatternHostOrientation, Double, Double)
Constructor
Description:
Creates a simple hatch fill pattern based on the given name, angle, spacing, FillPatternTarget and FillPatternHostOrientation.
Creates a simple hatch fill pattern based on the given name, angle, spacing, FillPatternTarget and FillPatternHostOrientation.
Syntax
public FillPattern(
string name,
FillPatternTarget target,
FillPatternHostOrientation orientation,
double angle,
double spacing1
)
Parameters
Parameter | Type | Description |
---|---|---|
name | String | The name. |
target | FillPatternTarget | The fill pattern target. |
orientation | FillPatternHostOrientation | The fill pattern orientation. |
angle | Double | The angle. |
spacing1 | Double | The spacing. |
Return Value
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |
ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |