PathEngine home previous: Interface iAnchorsAndPinnedShapesnext: iAnchorsAndPinnedShapes::anchor_HorizontalPosition()
Contents, API Reference, Interfaces, iAnchorsAndPinnedShapes, anchor_Attribute

iAnchorsAndPinnedShapes::anchor_Attribute()

Description

Used to query attributes of the specified anchor in an extensible manner.

Syntax

int32_t anchor_Attribute(int32_t anchorIndex, int32_t attributeIndex) const;

Parameters

anchorIndex The (zero-based) index of the anchor being queried. Must be greater than or equal to zero, and less than the value returned by numberOfAnchors().
attributeIndex An index to specify the attribute being queried. See Anchor Attributes for a list of values that can be specified for this parameter.

Return Value

-1 indicates that the value of the queried attribute is undefined. Otherwise the value of the queried attribute is returned.

For boolean attributes 0 is used to indicate false, and 1 to indicate true.

C# Mapping

int anchor_Attribute(int anchorIndex, int attributeIndex);

Java Mapping

int anchor_Attribute(int anchorIndex, int attributeIndex);

Documentation for PathEngine release 6.00 - Copyright © 2002-2016 PathEnginenext: iAnchorsAndPinnedShapes::anchor_HorizontalPosition()