Previous Document Next Document

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


CorelScript.ApplyPostscriptFill

Function ApplyPostscriptFill(PSFill As String, NumParms As Long, Parm1 As Long, Parm2 As Long, Parm3 As Long, Parm4 As Long, Parm5 As Long) As Long

Description

Member of CorelScript

The ApplyPostscriptFill method applies a PostScript fill to the selected object.

Parameter
Description
PSFill
Specifies the name of the PostScript fill
For a list of available PostScript fills, see the PostScript Texture dialog box.
NumParms
Specifies the number of parameters for the PostScript fill, as listed in the PostScript Texture dialog box. Valid values range from 1 to 5; the valid value for a spot fill is 2.
Parm1
Specifies the first parameter for the chosen PostScript fill. This parameter varies with the fill; refer to the PostScript Texture dialog box for details.
For a spot fill, valid values range from -1 to 1.
Parm2
Specifies the second parameter for the chosen PostScript fill. This parameter varies with the fill; refer to the PostScript Texture dialog box for details.
If this parameter is not used for the chosen fill, set its value to 0. For a spot fill, valid values range from -1 to 1.
Parm3
Specifies the first parameter for the chosen PostScript fill. This parameter varies with the fill; refer to the PostScript Texture dialog box for details.
If this parameter is not used for the chosen fill, set its value to 0. For a spot fill, specify a value of 0.
Parm4
Specifies the first parameter for the chosen PostScript fill. This parameter varies with the fill; refer to the PostScript Texture dialog box for details.
If this parameter is not used for the chosen fill, set its value to 0. For a spot fill, specify a value of 0.
Parm5
Specifies the first parameter for the chosen PostScript fill. This parameter varies with the fill; refer to the PostScript Texture dialog box for details.
If this parameter is not used for the chosen fill, set its value to 0. For a spot fill, specify a value of 0.

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.