Function GetFPat returns the fill pattern of the referenced object.
A positive value corresponds to the index of the fill pattern on the pattern palette. A negative value corresponds to internal index of a vector fill pattern applied to the object.
Fill patterns and their associated constants can be found in the VectorScript Appendix.
FUNCTION GetFPat(h : HANDLE): LONGINT;def vs.GetFPat(h):
return LONGINT| Name | Type | Description |
|---|---|---|
| h | HANDLE | Handle to object. |
The negative values need to be converted to positive values for Index2Name to work.
FPatValue:=GetFPat(HandleToObj);FPatValue = vs.GetFPat(HandleToObj)Availability: from All Versions