Tag: Alignment

Label Alignment

DicomObjects.NET In DicomObjects.NET version, Label alignment can be done using StringFormat property of the DicomLabel. DicomLabel.StringFormat.Alignment.(near, center, far) // Horizontal Alignment DicomLabel.StringFormat.LineAlignment.(near, center, far) // Vertical Alignment Please NOTE Label Alignment is relative to the area available for the text. The following CSharp code shows how to put a DicomLabel on the Right Top corner of a DicomImage, and a Label in the center of the Image. DicomLabel rightTop, center; rightTop = new DicomLabel(); rightTop.

Continue reading..