ApplyPreset(LineShapePreset) Method
Applies a predefined outline (
LineShapePreset) to this shape.
Note that LineShapePresets can only be applied to line geometries (see Extensions.IsLineGeometry). If GeometryType of this shape is not a line geometry, this method will do nothing and return false. For non-line geometries use ApplyPreset(ShapePreset) instead.
'Declaration
Public Overloads Function ApplyPreset( _
ByVal As LineShapePreset _
) As System.Boolean
public System.bool ApplyPreset(
LineShapePreset
)
Parameters
- preset
- The preset to apply.
Return Value
True if the preset was applied, false otherwise (if this shape is not a line geometry).