Creates a new text annotation object.
public void CreateTextObject(
DicomElement graphicAnnSQItem,
DicomTextObject textObject,
bool checkLayer
)
Public Sub CreateTextObject( _
ByVal graphicAnnSQItem As Leadtools.Dicom.DicomElement, _
ByVal textObject As Leadtools.Dicom.DicomTextObject, _
ByVal checkLayer As Boolean _
)
public void CreateTextObject(
Leadtools.Dicom.DicomElement graphicAnnSQItem,
Leadtools.Dicom.DicomTextObject textObject,
bool checkLayer
)
function Leadtools.Dicom.DicomDataSet.CreateTextObject(
graphicAnnSQItem ,
textObject ,
checkLayer
)
public:
void CreateTextObject(
Leadtools.Dicom.DicomElement^ graphicAnnSQItem,
Leadtools.Dicom.DicomTextObject^ textObject,
bool checkLayer
)
graphicAnnSQItem
An item element under the "Graphic Annotation Sequence" (0070,0001) in the "Graphic Annotation Module".
textObject
The text object attributes.
checkLayer
true to verify the existence of the layer to which the new object will be added (the method will fail if the layer does not exist); false to add the new object without verifying the existence of the layer.
When checkLayer is set to true, the method checks if the layer specified in textObject exists or not. If it does not exist, the method will throw an exception.
For an example, refer to FindFirstGraphicAnnSQItem.
FindFirstGraphicAnnSQItem Method
GetTextObjectInformation Method
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET