CreatePatternFlags

Top  Previous  Next

 

CreatePatternFlags (Method)

 

Creates an Integer to be provided to the parameter Fill_lFlags of the commands add_ShapeXXXX

 

Syntax:

Function CreatePatternFlags(fStretchXOn As Boolean, fStretchYOn As Boolean, fBackgroundOn As Boolean, fBorderOff As Boolean, fPolylineOn As Boolean) As Integer

 

The CreatePatternFlags method syntax consists of the following:

Parameter

Data Type

Description

fStretchXOn

Boolean

A Boolean expression that if it is true then the pattern stretches to fit in the x direction

fStretchYOn

Boolean

A Boolean expression that if it is true then the pattern stretches to fit in the y direction

fBackgroundOn

Boolean

A Boolean expression that if it is true then the pattern has a fill color

fBorderOff

Boolean

A Boolean expression that if it is true then Shape has not border

fPolylineOn

Boolean

A Boolean expression that if it is true then Shape is a polyline and not a filled polygon

 

Return value:

Integer - The parameter Fill_lFlags for the Add_ShapeXXXX functions

 

Remarks:

For more details for the fill parameters see the example ShapeFill.vbp

 

Example