Hello is there a way to create a pdf with the content and size of another trim box pdf ?
I create the Sub bellow, trying to change the box size, but it seems like all the box have the same size in 'extendedPageDimensions'
Shared Sub RemoveBox(ByVal pOriginalPath As String, ByVal pDestinationPath As String)
Dim document As MergeDocument = New MergeDocument(pOriginalPath)
For i As Integer = 0 To document.Pages.Count - 1
Dim pageDimensions As PageDimensions = document.Pages.Item(i).Dimensions
Dim extendedPageDimensions As ExtendedPageDimensions = New ExtendedPageDimensions(pageDimensions.Edge, pageDimensions.Body)
Next
document.Draw(pDestinationPath)
End Sub
get pdf witth only trimbox
Re: get pdf witth only trimbox
Support · Feb 8, 2021Hi,
It's not clear from your description and example what you are wanting to do. Also, you are not setting the new ExtendedPageDimensions class to a page. You can set the trim box and other boxes on an ExtendedPageDimensions class independently as needed. If you require further assistance, please provide more details.
Thanks,
ceTe Software Support Team