Click or drag to resize

CTPAT Class

The full name of the pattern. ex: "felsic volcanics" Code: Short-form of the pattern description. This is the value which typically appears (for instance) in the "Rock code" channel in a Wholeplot From-To data group. ex: "FVOL" The code is CASE-SENSITIVE. Label: Text to use as a short-form in labels, graphs etc. By default, this is the same as the code. ex: "FVol." Pattern Attributes: (See DEFAULT.PAT in \src\etc for more inforation) Pattern: The Pattern Index; defined in DEFAULT.PAT, or in the user's USER.PAT file. If not specified, defaults to 0 (solid fill). Size: The pattern tile size. If not specified, defaults to 2.0mm. Density: The tiling density. If not specified, defaults to 1.0. Thickness: The line thickness in the tile, expressed as a integer percentage (0-100) of the tile size. Color: The pattern line work color. If not specified, defaults to black. Background color: The pattern background color. If not specified, defaults to transparent (C_ANY_NONE) Symbols: Symbol Font The name of the symbol font to use for a given symbol index Symbol Number Index into the font. Symbol Rotation: Rotation in degrees CCW. Symbol Scaling Additional scale factor to apply to symbol size (Default 1.0)
Inheritance Hierarchy

Namespace:  GeoEngine.Core.GXNetX
Assembly:  geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntax
public class CTPAT : CHANDLE

public class CTPAT : CHANDLE

The CTPAT type exposes the following members.

Methods
  NameDescription
Public methodAddColor
Add a new color to the list
Public methodStatic memberCreate
Creates an empty thematic pattern object.
Protected methodDispose
Releases the unmanaged resources used by the CTPAT and optionally releases the managed resources
(Overrides CHANDLEDispose(Boolean).)
Public methodiCode
Find the index of a given thematic pattern
Public methodIGetSolidPattern(Int32, String, String, String, Int32)
Get solid pattern info from the TPAT.
Public methodIGetSolidPattern(Int32, String, Int32, String, Int32, String, Int32, Int32)
Get solid pattern info from the TPAT.
Public methodiSize
Returns the number of rows (items) in the TPAT object.
Public methodLoadCSV
Load thematic patterns from a CSV file
Public methodSetupTranslationVV
Initializes a VV used to map TPAT indices to output values
Top
See Also