Previous Document Next Document

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


CorelScript.ApplyTwoColorBitmapLens

Function ApplyTwoColorBitmapLens(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, Starting As Long, Ending As Long, Operation As Long, Freeze As Boolean) As Long

Description

Member of CorelScript

The ApplyTwoColorBitmapLens method applies a two-color bitmap lens to the selected object.

Parameter
Description
FileName
Specifies the name of the two-color fill file
TileWidth
Specifies the tile width, in the units specified by the ScaleWithObject parameter
TileHeight
Specifies the tile height, in the units specified by the ScaleWithObject parameter
FirstTileOffsetX
Specifies the amount by which to offset the first tile horizontally
FirstTileOffsetY
Specifies the amount by which to offset the first tile vertically
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 the unit of measurement for the width and height. True (-1) uses tenths of a micron, while False (0) uses a percentage
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
Starting
Specifies the starting transparency
Ending
Specifies the ending transparency
Operation
Specifies which operation to perform on the selected object
Freeze
Specifies whether to freeze the object. True (-1) freezes the object.

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.