Posted 4 January 2024, 9:30 pm EST
Hy,
How do I access the attachments in a PDF document, or alternatively, how can I view the attachments in C1.Win.FlexViewer.C1.FlexViewer?
pdf_Source is C1.Win.C1Document.C1PdfDocumentSource
fle_PDF C1.Win.FlexViewer.C1.FlexViewer
My code is as following:
System.IO.FileInfo fi=new System.IO.FileInfo(pfad);
if (fi.Exists)
{
if (fi.Extension.Equals(“.pdf”, StringComparison.OrdinalIgnoreCase))
{
pdf_Source.LoadFromFile(fi.FullName);
fle_PDF.DocumentSource = pdf_Source;
}
}
Best regards