PostType Property

 

The PostType property returns or sets a variable's posting method (using centroids or coordinates) when posting data. Returns a MVPostType.

 

Syntax

object.PostType( VariableIndex )

object.PostType( VariableIndex) = PostType

 

Parameter

Type

Description

VariableIndex

Integer

required; variable number

PostType

MVPostType

required; use centroids or coordinates

 

Remarks

If the PostType is mvPostCoordinates, use the XCol and YCol properties to set the coordinate columns.

 

Example 1

This example returns the type of posting for the third variable.

 

Debug.Print PostData.PostType(3)

 

Example 2

This example uses centroids for posting for the fourth variable.

 

PostData.PostType(4) = mvPostCentroid

 

Used by: PostData object