Retrieves the header information for the current object.
Syntax
intl pipObjectGetInfo ( pipObjectFile obj_h, pipObjectInfoStruct *pInfo );
Arguments
obj_h The handle of the opened object file. Input.
*pInfo Structure containing attribute information about an object. Output.
Return Value
PIP_OK PIP_ERROR
Prerequisites
pipObjectFindFirstContaining, pipObjectFindFirstName, pipObjectFindFirstNearest, pipObjectFindFirstPolygon, or pipObjectFindFirstRect.
Alternates
None.
Notes
The pipObjectInfoStruct structure contains the following information about an object:
char name[128] | Primary name. |
char name2[128] | Secondary name. |
intl type | PIP_REGION, PIP_LINE, or PIP_POINT. |
intl layer | Layer code. |
intl xCenter, yCenter | Point location or label position. |
intl xMin, yMin, xMax, yMax | MBR, not used for points. |
intl penStyle, penWidth, penColor | Line style, border style, or symbol style for points. |
intl brushStyle, brushColor, brushBackgroundColor | Fill style, used only for regions. |
For a complete description of each of the items in the structure, see pipImportInsert.