|
GetShapeFill (Method)
Use this method if you want to get a shape's fill properties
Syntax:
Function GetShapeFill(hShape As Integer, Fill_iType As Byte, Fill_lHatchIndex As Integer, Fill_iInForeColor As Short, Fill_iInBackColor As Short, Fill_sPattern As String, Fill_zOrder As Integer, Fill_lFlags As Integer) As Boolean
The GetShapeFill method syntax consists of the following:
Parameter
|
Data Type
|
Description
|
hShape
|
Integer
|
Is the handle of the shape
|
Fill_iType
|
Byte
|
Is the AvaxFillType propery of the shape
|
Fill_lHatchIndex
|
Integer
|
Is the shape's hatch index
|
Fill_iInForeColor
|
Short
|
Is the shape's fore color index
|
Fill_iInBackColor
|
Short
|
Is the shape's back color index
|
Fill_sPattern
|
String
|
Is a string that defines the pattern files. They must be split by commas
|
Fill_zOrder
|
Integer
|
Is the shape's z order
|
Fill_lFlags
|
Integer
|
Is the shape's flags that define the StretchXOn, StretchYOn, BackgroundOn, BorderOff and PolylineOn properties
|
Return value:
Boolean - True on success, false on error.
Example
|