Sets 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 Sub PrgSetItemAutoSize( _ ByVal layerHandle As Long, _ ByVal seqNum As Long, _ ByVal AutoSize 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.
- AutoSize
Value Description NX_NoAutoSize Do not automatically size the bounding box. NX_SizeToContents Automatically size according to the contents.