Click or drag to resize

CMVIEWPatNumber Method

Sets the pattern number

Namespace:  GeoEngine.Core.GXNetX
Assembly:  geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntax
public void PatNumber(
	int number
)

public void PatNumber(
	int number
)

Parameters

number
Type: SystemInt32
Pattern number
Remarks
Pattern 0 is solid fill.(default) Set the pattern color using FillColor_MVIEW. Patterns are selected by ordinal value (pattern number) from those defined in default.pat. If default.pat does not have a the pattern specified, the file user.pat is searched. If this file does not contain the pattern solid is assumed. Note that patterns from default.pat and user.pat are read into the map at the time the map is created, not at display time. IMPORTANT: A call to this function resets all the various pattern attributes to those defined for the selected pattern. If you want to modify any attributes, call that function (e.g. sPatSize_MVIEW(), AFTER you call sPatNumber_MVIEW().
See Also