DicomObjects.NET.8.48 Documentation
DicomObjects.Enums Namespace / AutoSizeMode Enumeration






In This Topic
    AutoSizeMode Enumeration
    In This Topic
    Possible values for controlling the size of a text label.
    Syntax
    'Declaration
     
    
    Public Enum AutoSizeMode 
       Inherits System.Enum
    'Usage
     
    
    Dim instance As AutoSizeMode
    public enum AutoSizeMode : System.Enum 
    public enum AutoSizeMode = class(System.Enum)
    public enum AutoSizeMode extends System.Enum
    __value public enum AutoSizeMode : public System.Enum 
    public enum class AutoSizeMode : public System.Enum 
    Members
    MemberDescription
    Auto Both the height and width are reduced to fit the size of the text displayed. The original width is still used to control the wrapping of the text
    AutoSizeHeightThe original width, as defined by the label's Area is used, but the height is reduced to fit the size of the actual text displayed
    AutoSizeWidthThe original height, as defined by the label's Area is used, but the width is reduced to fit the size of the actual text displayed
    NoAutoSizeThe original size, as defined by the label's Area is used.
    Remarks
    This is used by the DicomLabel's AutoSizeMode property. It is used to control both the drawing of a visible box around the text, and also used for the positioning of child labels and for rotation.
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             DicomObjects.Enums.AutoSizeMode

    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also