Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
تم تطوير معيار DICOM بواسطة جمعية مصنعي المعدات الكهربائية الوطنية. يغطي هذا التنسيق وظائف إنشاء وتخزين ونقل وطباعة إطارات الصور الفردية، وسلاسل الإطارات، ومعلومات المرضى، والبحث، والمعدات، والمؤسسات، والموظفين الطبيين الذين يقومون بالفحص، وما إلى ذلك.
تعمل مقتطفات الشيفرة التالية أيضًا مع مكتبة Aspose.PDF.Drawing.
Aspose.PDF for .NET يدعم وظيفة إضافة صور DICOM إلى مستندات PDF. توضح مقتطفات الشيفرة التالية كيفية استخدام هذه الوظيفة.
// For complete examples and data files, visit https://github.com/aspose-pdf/Aspose.PDF-for-.NET
private static void AddDicomImageToPDF()
{
// The path to the documents directory
var dataDir = RunExamples.GetDataDir_AsposePdf_Images();
// Create PDF document
using (var document = new Aspose.Pdf.Document())
{
// Add page
var page = document.Pages.Add();
// Create an image instance and set its properties
var image = new Aspose.Pdf.Image
{
FileType = Aspose.Pdf.ImageFileType.Dicom,
ImageStream = new FileStream(dataDir + "DicomImage.dcm", FileMode.Open, FileAccess.Read)
};
// Add image to the first page
page.Paragraphs.Add(image);
// Save PDF document
document.Save(dataDir + "PdfWithDicomImage_out.pdf");
}
}
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.