Gets the autosize attribute for a specific element for the specific layer. AutoSize controls how the bounding box is sized for text, buttons, stamps, and images.
Visual Basic |
---|
Public Function PrgGetItemAutoSize( _ ByVal layerHandle As Long, _ ByVal seqNum As Long _ ) As NX_AutoSizeType |
- layerHandle
- The handle of a layer returned by the CreateLayer method.
- seqNum
- The handle of an element returned by the ElementAppend method.
The enumeration NX_AutoSizeType that specifies the autosize attribute.