Previous Document Next Document

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


CorelScript.ApplyTextureFill

Function ApplyTextureFill(TextureLibrary As String, TextureName As String, TextureStyle As String, TextureWidth As Long, TextureHeight As Long, TextureOffestX As Long, TextureOffsetY As Long, RowOffset As Boolean, RowColumnOffset As Long, ScaleWithObject As Boolean, RotationAngle As Long, SkewAngle As Long) As Long

Description

Member of CorelScript

The ApplyTextureFill method applies one of the texture fills included in CorelDRAW.

Parameter
Description
TextureLibrary
Specifies the name of the texture library
TextureName
Specifies the name of the texture
TextureStyle
Specifies the name of the texture style
TextureWidth
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
TextureHeight
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
TextureOffestX
Specifies the horizontal offset from center of the object, in the same units used by the width and height
TextureOffsetY
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, in tenths of a micron
ScaleWithObject
Specifies whether to scale the fill with the object. True (-1) enables scaling, while False (0) disables it.
RotationAngle
Specifies the amount by which the texture is rotated, in millionths of a degree
SkewAngle
Specifies the amount by which the texture is skewed, in millionths of a degree

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.