Object Model Reference : Classes : C : CorelScript : Methods : CorelScript.ApplyExtrude |
Function ApplyExtrude(ExtrudeType As Long, VPProperties As Long, CopyObjectID As Long, Depth 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
Member of CorelScript
The ApplyExtrude method extrudes the selected object.
Parameter
|
Description
|
||||||||||||||||||
ExtrudeType
|
Specifies the extrusion type:
|
||||||||||||||||||
VPProperties
|
Specifies the properties of the vanishing point:
|
||||||||||||||||||
CopyObjectID
|
Specifies the object ID of the source object, for using a copied or shared vanishing point. To determine the ID of an object, use the CorelScript.GetObjectsCDRStaticID method.
|
||||||||||||||||||
Depth
|
Specifies the depth of the extrusion
|
||||||||||||||||||
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 objects 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:
|
||||||||||||||||||
DrapeFill
|
Specifies whether to drape the fill over the object. True drapes the fill over the object.
|
Copyright 2013 Corel Corporation. All rights reserved.