Previous Document Next Document

Object Model Reference : Classes : P : PostScriptFill : Properties : PostScriptFill.Name


PostScriptFill.Name

Property Name As String

Description

Member of PostScriptFill

The Name property returns the name of a PostScript fill.

The Name property returns a read-only value.

VBA example

The following VBA example applies the sixth (6th) available PostScript fill to a rectangle and displays its name.

Sub Test()
 Dim s As Shape
 Dim pf As PostScriptFill
 Set s = ActiveLayer.CreateRectangle(0, 0, 4, 4)
 Set pf = s.Fill.ApplyPostscriptFill(6)
 MsgBox pf.Name & " #" & pf.Index
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.