Previous Document Next Document

Object Model Reference : Classes : S : ShapeRange : Methods : ShapeRange.ApplyHatchFill


ShapeRange.ApplyHatchFill

Sub ApplyHatchFill(LibraryName As String, HatchNameOrIndex As Variant, [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])

Description

Member of ShapeRange

The ApplyHatchFill method applies a preset (library) hatch fill to the shapes in a shape range.

Parameter
Description
LibraryName
Specifies the library name for the hatch-fill pattern
HatchNameOrIndex
Specifies the name or index number of the hatch-fill pattern
BackColor
Specifies the 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.