Previous Document Next Document

Object Model Reference : Classes : H : HatchFill : Methods : HatchFill.AddPattern


HatchFill.AddPattern

Function AddPattern(Angle As Double, Spacing As Double, [Shift As Double], [OriginX As Double], [OriginY As Double], [Width As Double], [Color As Color], [Style As OutlineStyle], [DashDotLength As Double = -1], [PenWidth As Double]) As HatchPattern

Description

Member of HatchFill

The AddPattern method adds a new pattern to the hatch.

Parameter
Description
Angle
Specifies the rotation angle of the lines in the hatch-fill pattern
Spacing
Specifies the line spacing in the hatch-fill pattern
Shift
Specifies an additional relative horizontal shift of the lines in the hatch-fill pattern. This parameter is optional, and its default value is 0.
OriginX
Specifies the horizontal offset of the start of the first line in the hatch-fill pattern. This parameter is optional, and its default value is 0.
OriginY
Specifies the vertical offset of the start of the first line in the hatch-fill pattern. This parameter is optional, and its default value is 0.
Width
Specifies the width at which to apply the hatch fill. This parameter is optional, and its default value is 0.
Color
Specifies the color for the hatch fill. This parameter is optional, and its default value is Nothing.
Style
Specifies the outline style for the hatch fill. This parameter is optional, and its default value is Nothing.
DashDotLength
Specifies the dash-dot length of the lines in the hatch fill. This parameter is optional, and its default value is -1.
PenWidth
Specifies the pen width of the lines in the hatch fill. This parameter is optional, and its default value is 0.

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.