Table of contents
TOC
Collapse the table of content
Expand the table of content

Master.PatternFlags Property (Visio)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Determines whether a master behaves as a custom pattern. Read/write.

Syntax

expression . PatternFlags

expression A variable that represents a Master object.

Return Value

Integer

Remarks

Microsoft Visio allows a master to be used as a custom line pattern, line end, or fill pattern.

The PatternFlags property determines whether you can use a master as a pattern (non-zero); whether it is a line, fill, or line end pattern; and which pattern mode to use when applying it to shapes.

If you can use the PatternFlags property as a pattern (non-zero), the property can include a combination of the following bits.

**Constant ****Value ****Description **
visMasIsLinePat&;H1Line pattern
visMasIsLineEnd&;H2Line end pattern
visMasIsFillPat&;H4Fill pattern

If visMasIsLinePat is selected, the pattern mode should be one of the following values.

**Constant ****Value **
visMasLPTileDeform&;H0
visMasLPTile&;H10
visMasLPStretch&;H20
visMasLPAnnotate&;H30

In addition, visMasLPScale (&;H40) can optionally be included in the PatternFlags property value.

If visMasIsLineEnd is selected, the pattern mode should be one of the following values.

**Constant ****Value **
visMasLEDefault&;H0
visMasLEUpright&;H100

In addition, visMasLEScale (&;H400) can optionally be included in the PatternFlags property value.

If visMasIsFillPat is selected, the pattern mode should be one of the following values.

**Constant ****Value **
visMasFPTile&;H0
visMasFPCenter&;H1000
visMasFPStretch&;H2000

In addition, visMasFPScale (&;H4000) can optionally be included in the PatternFlags property value.

© 2017 Microsoft