Previous Document Next Document

Object Model Reference : Classes : C : CorelScript : Methods : CorelScript.ApplyTwoColorFill


CorelScript.ApplyTwoColorFill

Function ApplyTwoColorFill(FileName As String, TileWidth As Long, TileHeight As Long, FirstTileOffsetX As Long, FirstTileOffsetY As Long, RowOffset As Boolean, RowColumnOffset As Long, SeamlessTiling As Boolean, ScaleWithObject As Boolean, RotationAngle As Long, SkewAngle As Long) As Long

Description

Member of CorelScript

The ApplyTwoColorFill method applies a two-color fill to the selected object.

 
You can use the CorelScriptTools.LengthConvert method, or one of the CorelScriptTools.From... or CorelScriptTools.To... methods, to specify length measurements.

Parameter
Description
FileName
Specifies the name of the two-color fill file
TileWidth
Specifies the object width as a percentage if its value is less than 500 and if the ScaleWithObject parameter is enabled; otherwise, specifies the width in tenths of a micron
TileHeight
Specifies the object height as a percentage if its value is less than 500 and if the ScaleWithObject parameter is enabled; otherwise, specifies the height in tenths of a micron
FirstTileOffsetX
Specifies the horizontal offset from center of the object, in the same units used by the width and height
FirstTileOffsetY
Specifies the vertical offset from center of the object, in the same units used by the width and height
RowOffset
Specifies row or column offset. True (-1) enables row offset, False (0) column offset.
RowColumnOffset
Specifies the amount of row or column offset. Valid values range from 0 to 100.
SeamlessTiling
Specifies whether to enable seamless tiling. True (-1) enables seamless tiling, while False (0) disables it.
ScaleWithObject
Specifies whether to scale the pattern with the object. True (-1) enables scaling, while False (0) disables it.
RotationAngle
Specifies the amount by which the tile is rotated, in millionths of a degree
SkewAngle
Specifies the amount by which the tile is skewed, in millionths of a degree

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.