Previous Document Next Document

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


CorelScript.ApplyRotatedExtrude

Function ApplyRotatedExtrude(ExtrudeType As Long, Depth As Long, XRotation As Long, YRotation As Long, ZRotation As Long, VPHorizPos As Long, VPVertPos As Long, PageOrigin As Boolean, Light1Pos As Long, Light1Intensity As Long, Light2Pos As Long, Light2Intensity As Long, Light3Pos As Long, Light3Intensity As Long, FillType As Long, DrapeFill As Boolean) As Long

Description

Member of CorelScript

The ApplyRotatedExtrude method applies a rotated extrusion to the selected object.

Parameter
Description
ExtrudeType
Specifies the extrusion type:
 
0 = Small Back
 
1 = Small Front
 
2 = Big Back
 
3 = Big Front
 
4 = Back Parallel
 
5 = Front Parallel
Depth
Specifies the depth of the extrusion
XRotation
Specifies the rotation value for the x-axis. Valid values range from 0 to 100.
YRotation
Specifies the rotation value for the y-axis. Valid values range from 0 to 100.
ZRotation
Specifies the rotation value for the z-axis. Valid values range from 0 to 100.
VPHorizPos
Specifies the x-coordinate of the vanishing point, in tenths of a micron and relative to the center of the page or the object (depending on PageOrigin)
VPVertPos
Specifies the y-coordinate of the vanishing point, in tenths of a micron and relative to the center of the page or the object (depending on PageOrigin)
PageOrigin
Specifies the position of the vanishing point. True (-1) positions the vanishing point by using absolute page coordinates, while False (0) positions the vanishing point relative to the object’s position.
Light1Pos
Specifies the position of the light source. Valid values range from 0 to 16.
Light1Intensity
Specifies the intensity of the light source. Valid values range from 0 to 100.
Light2Pos
Specifies the position of the light source. Valid values range from 0 to 16.
Light2Intensity
Specifies the intensity of the light source. Valid values range from 0 to 100.
Light3Pos
Specifies the position of the light source. Valid values range from 0 to 16.
Light3Intensity
Specifies the intensity of the light source. Valid values range from 0 to 100.
FillType
Specifies the fill type:
 
0 = object fill
 
1 = solid fill
 
2 = shade
DrapeFill
Specifies whether to drape the fill over the object. True drapes the fill over the object.

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.