Previous Document Next Document

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


CorelScript.ApplyLensEffect

Function ApplyLensEffect(LensType As Long, Frozen As Boolean, RemoveFace As Boolean, ViewPoint As Boolean, VPX As Long, VPY As Long, Param1 As Long) As Long

Description

Member of CorelScript

The ApplyLensEffect method applies a lens to the selected object.

Parameter
Description
LensType
Specifies the lens type:
 
0 = No Lens Effect
 
1 = Brighten
 
2 = Color Add
 
3 = Color Limit
 
4 = Custom Color Map
 
5 = Fish Eye
 
6 = Heat Map
 
7 = Invert
 
8 = Magnify
 
9 = Tinted Grayscale
 
10 = Transparancy
 
11 = Wireframe
Frozen
Specifies whether to enable the Frozen option. True (-1) enables the option.
RemoveFace
Specifies whether to enable the Remove Face option. True (-1) enables the option.
ViewPoint
Specifies whether to enable the View Point option. True (-1) enables the option.
VPX
Specifies the x-coordinate of the viewpoint, in tenths of a micron
VPY
Specifies the y-coordinate of the viewpoint, in tenths of a micron
Param1
Specifies the parameter value for the chosen lens

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.