Sets the autosize attribute of an existing element. AutoSize controls how the bounding box is sized for text, buttons, stamps, and images.
Visual Basic |
---|
Public Sub ElementSetAutoSize( _ ByVal elementHandle As Long, _ ByVal AutoSize As NX_AutoSizeType _ ) |
- elementHandle
- The handle of an element returned by the ElementCreate method.
- AutoSize
Value Description NX_NoAutoSize Do not automatically size the bounding box. NX_SizeToContents Automatically size according to the contents.