DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomLabel Class / Margin Property

In This Topic
    Margin Property (DicomLabel)
    In This Topic
    Defines a margin between text and it’s bounding box
    Syntax
    'Declaration
     
    
    Public Property Margin As System.Integer
    public System.int Margin {get; set;}
    Remarks
    The bounding rectangle defined by Height and Width is reduced by this size on all four sides before text is drawn, leaving a clear margin around the text. If the AutoSizeMode property causes the size to be reduced, then the calculated box is automatically expanded to accommodate this margin.
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also