Working with the DicomTextObjectAttributes Object

The TextObjectAttributes property returns a reference to the DicomTextObjectAttributes object. This object exposes the IDicomTextObjectAttributes interface which defines the following properties to describe a text annotation object:

image\sqrblit.gif AnchorPointUnits property: This property specifies the value of the "Anchor Point Annotation Units" (0070,0004) element (for example, DICOM_UNIT_PIXEL).

image\sqrblit.gif AnchorPointUsed property: This property indicates whether the values specified by the AnchorPointX property and the AnchorPointY property are valid. The AnchorPointX property and the AnchorPointY property are ignored unless the AnchorPointUsed property is set to VARIANT_TRUE.

image\sqrblit.gif AnchorPointVisible property: This property specifies the value of the "Anchor Point Visibility" (0070,0015) element (for example, VARIANT_TRUE).

image\sqrblit.gif AnchorPointX property: This property is the x-coordinate (horizontal offset) specified by the "Anchor Point" (0070,0014) element.

image\sqrblit.gif AnchorPointY property: This property is the y-coordinate (vertical offset) specified by the "Anchor Point" (0070,0014) element.

image\sqrblit.gif BoundingBoxBRHCornerX property: This property is the x-coordinate (horizontal offset) specified by the "Bounding Box Bottom Right Hand Corner" (0070,0011) element.

image\sqrblit.gif BoundingBoxBRHCornerY property: This property is the y-coordinate (vertical offset) specified by the "Bounding Box Bottom Right Hand Corner" (0070,0011) element.

image\sqrblit.gif BoundingBoxTextJustification property: This property specifies the value of the "Bounding Box Text Horizontal Justification" (0070,0012) element (for example, DICOM_TEXT_JUSTIFICATION_LEFT).

image\sqrblit.gif BoundingBoxTLHCornerX property: This property is the x-coordinate (horizontal offset) specified by the "Bounding Box Top Left Hand Corner" (0070,0010) element.

image\sqrblit.gif BoundingBoxTLHCornerY property: This property is the y-coordinate (vertical offset) specified by the "Bounding Box Top Left Hand Corner" (0070,0010) element.

image\sqrblit.gif BoundingBoxUnits property: This property specifies the value of the "Bounding Box Annotation Units" (0070,0003) element (for example, DICOM_UNIT_PIXEL).

image\sqrblit.gif BoundingBoxUsed property: This property indicates whether the values specified by the BoundingBoxBRHCornerX property, the BoundingBoxBRHCornerY property, the BoundingBoxTLHCornerX property, and the BoundingBoxTLHCornerY property are valid.

image\sqrblit.gif LayerName property: This property specifies the value of the "Graphic Layer" (0070,0002) element.

image\sqrblit.gif TextValue property: This property specifies the value of the "Unformatted Text Value" (0070,0006) element.