Read cut-/dielines

Read cut-/dielines

Forum member · Jan 6, 2023
Is it be possible to read the cut-/dieline-information in a pdf?

Re: Read cut-/dielines

Support · Jan 6, 2023
Hi, If you are looking for CropBox, BleedBox and TrimBox dimensions then you can retrieve these values from an existing PDF page using DynamicPDF Core Suite for .NET product. Here is a code sample. PdfDocument pdf = new PdfDocument(@"Source PDF file path"); MergeDocument document = new MergeDocument(pdf); // Read CropBox values float cropBoxHeightLeft = document.Pages[0].Dimensions.CropBox.Left; float cropBoxHeightTop = document.Pages[0].Dimensions.CropBox.Top; float cropBoxHeightRight = document.Pages[0].Dimensions.CropBox.Right; float cropBoxHeightBottom = document.Pages[0].Dimensions.CropBox.Bottom; float cropBoxHeightValue = document.Pages[0].Dimensions.CropBox.Height; float cropBoxWidthValue = document.Pages[0].Dimensions.CropBox.Width; // Similarly for BleedBox float bleedBoxHeightValue = document.Pages[0].Dimensions.BleedBox.Height; float bleedBoxWidthValue = document.Pages[0].Dimensions.BleedBox.Width; // ... // Similarly for TrimBox float trimBoxHeightValue = document.Pages[0].Dimensions.TrimBox.Height; float trimBoxWidthValue = document.Pages[0].Dimensions.TrimBox.Width; // ... Feel free to download fully functional evaluation edition of DynamicPDF Core Suite for .NET product from NuGet (Package ID: ceTe.DynamicPDF.CoreSuite.NET) or from our website here Thanks, ceTe Software Support Team

Re: Read cut-/dielines

Forum member · Jan 9, 2023
No, I am not thinking of normal cropbox... Dielines are the "lines" that are used typically for packaging products with irregular shapes.

Re: Read cut-/dielines

Support · Jan 9, 2023
Hello, There is no option to read cut/dieline information from a PDF using DynamicPDF product. You can extract text and can read form field values from a PDF. Please refer to the documentation on text extraction here and reading form field values here . Thanks, ceTe Software Support Team

Re: Read cut-/dielines

Forum member · Jan 10, 2023
Ok - but is it possible to develop this functionality? Measure the length of the dielines for example

Re: Read cut-/dielines

Support · Jan 10, 2023
Hi, We will add this to our feature request list and if feasible we may include it in a future version of DynamicPDF Core Suite for .NET product. Thanks, ceTe Software Support Team

Re: Read cut-/dielines

Forum member · Feb 21, 2023
A cut line is a line added using a spot color and is usually named something like CutContour, Thu-cut, Cutpath, V-Cut, etc. So to reframe the question, is it possible to find a line associated with a spot color name and then get its coordinates for evaluation?

Re: Read cut-/dielines

Support · Feb 21, 2023
Hi, Currently there is no option in the DynamicPDF Core Suite for .NET product to find a line associated with a spot color name and then get its coordinates. Thanks, ceTe Software Support Team