Previous Document Next Document

Object Model Reference : Classes : F : Fill : Methods : Fill.ApplyCustomHatchFill


Fill.ApplyCustomHatchFill

Function ApplyCustomHatchFill(Angle As Double, Spacing As Double, [Shift As Double], [OriginX As Double], [OriginY As Double], [Width As Double = -1], [Color As Color], [Style As OutlineStyle], [DashDotLength As Double = -1], [PenWidth As Double], [BackColor As Color], [TransformWithShape As Boolean = False], [ScaleLinesWithShape As Boolean = False], [UseWorldCoordinates As Boolean = False], [FillScale As Double], [LineScale As Double], [FillAngle As Double], [FillSkew As Double]) As HatchFill

Description

Member of Fill

The ApplyCustomHatchFill method applies a custom hatch fill.

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 -1.
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.
BackColor
Specifies a background color for the hatch fill. This parameter is optional, and its default value is Nothing.
TransformWithShape
Specifies whether to transform the hatch fill with the shape to which the hatch fill is applied. This parameter is optional, and its default value is False.
ScaleLinesWithShape
Specifies whether to scale the hatch-fill lines with the shape to which the hatch fill is applied. This parameter is optional, and its default value is False.
UseWorldCoordinates
Specifies whether local or world coordinates are used to align the hatch fills that are applied to different objects. This parameter is optional, and its default value is False.
FillScale
Specifies the average scale factor for the hatch fill. This parameter is optional, and its default value is 0.
LineScale
Specifies the average line-thickness scale factor for the hatch fill. This parameter is optional, and its default value is 0.
FillAngle
Specifies the rotation angle for the hatch fill. This parameter is optional, and its default value is 0.
FillSkew
Specifies the skew angle for 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.