com.aspose.words

Class HeightRule

  • java.lang.Object
    • com.aspose.words.HeightRule
public class HeightRule 
extends java.lang.Object

Utility class containing constants. Specifies the rule for determining the height of an object.

Field Summary
static final intAT_LEAST = 0
The height will be at least the specified height in points. It will grow, if needed, to accommodate all text inside an object.
static final intEXACTLY = 1
The height is specified exactly in points. Please note that if the text cannot fit inside the object of this height, it will appear truncated.
static final intAUTO = 2
The height will grow automatically to accommodate all text inside an object.
 

    • Field Detail

      • AT_LEAST = 0

        public static final int AT_LEAST
        The height will be at least the specified height in points. It will grow, if needed, to accommodate all text inside an object.
      • EXACTLY = 1

        public static final int EXACTLY
        The height is specified exactly in points. Please note that if the text cannot fit inside the object of this height, it will appear truncated.
      • AUTO = 2

        public static final int AUTO
        The height will grow automatically to accommodate all text inside an object.