Previous Document Next Document

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


CorelScript.ApplyFullColorFill

Function ApplyFullColorFill(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, VectorBBoxTop As Long, VectorBBoxBottom As Long, VectorBBoxLeft As Long, VectorBBoxRight As Long, RotationAngle As Long, SkewAngle As Long) As Long

Description

Member of CorelScript

The ApplyFullColorFill method applies a full-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 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.
VectorBBoxTop
Specifies the top coordinate of the fill’s bounding box, in tenths of a micron and relative to the center of the page
VectorBBoxBottom
Specifies the bottom coordinate of the fill’s bounding box, in tenths of a micron and relative to the center of the page
VectorBBoxLeft
Specifies the left coordinate of the fill’s bounding box, in tenths of a micron and relative to the center of the page
VectorBBoxRight
Specifies the right coordinate of the fill’s bounding box, in tenths of a micron and relative to the center of the page
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.