VCOM:VectorWorks:ISDK::SetFillPat

From Vectorworks Developer
Jump to navigation Jump to search

.SDK|SDK ..SDK:Types|SDK Types ..VCOM:VCOM (Vectorworks Component Object Model)|VCOM Basics ..VCOM:Class Reference|VCOM Class Reference

Description

namespace VectorWorks

Member of VCOM:VectorWorks:ISDK

Sets the fill pattern or hatch of h to the pattern ID or hatch number specified by theFill. [The fill pattern IDs are the same as in MiniPascal: none is 0, white is 1, black is 2, and so on. Hatch numbers are negative, but valid numbers are not sequential. You must obtain a hatch number from another call such as GetFillPat or NameToInternalIndex, and they are not valid across documents. NameToInternalIndex and NameToInternalIndexN give back a positive Number for a hatch, you must give its negative value as parameter to SetFillPat.]

virtual void SetFillPat(
MCObjectHandle h,
InternalIndex theFill)

Parameters

MCObjectHandle h No information available.
InternalIndex theFill No information available.

Version

Availability: from Vectorworks 2009