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は、PDF文書にDICOM画像を追加する機能をサポートしています。次のコードスニペットは、この機能の使用方法を示しています。
// 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.