ChangeShapeFill
MethodChangeShapeFill (Method)
Changes the fill properties of a shape
Syntax:
Function ChangeShapeFill(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 ChangeShapeFill method syntax consists of the following:
Parameter |
Data Type |
Description |
hShape |
Integer |
The handle of the shape |
Fill_iType |
Byte |
The AvaxFillType property of the shape |
Fill_lHatchIndex |
Integer |
The shape's hatch index |
Fill_iInForeColor |
Short |
The shape's fore color index |
Fill_iInBackColor |
Short |
The shape's back color index |
Fill_sPattern |
String |
A string that defines the pattern of the fill |
Fill_zOrder |
Integer |
The shape's z order |
Fill_lFlags |
Integer |
The shape's flags that define the StretchXOn, StretchYOn, BackgroundOn, BorderOff and PolylineOn properties |
Return value:
Boolean - True on success, false on error.