Print Page | Close Window

SetContentStreamFromVariant - question

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=3130
Printed Date: 22 Nov 24 at 12:10PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: SetContentStreamFromVariant - question
Posted By: mLipok
Subject: SetContentStreamFromVariant - question
Date Posted: 10 Jun 15 at 4:55AM
I'm using such snippet 

$oQP.LoadFromFile($sPDF_FileFullPath, $sPDFPassword);
$oQP.CombineContentStreams()
$oQP.SelectContentStream(1)
Local $dContentStream = $oQP.GetContentStreamToVariant()
$oQP.NewPage()
$oQP.SelectContentStream(1)
$oQP.SetContentStreamFromVariant($dContentStream)
$oQP.SaveToFile($sPDF_FileFullPath & '.2.pdf')


Why the new PDF file on second page have empty page with no content ?
What I'm doing wrong ?

mLipok


-------------
Here you can find description how to test my examples:
http://www.quickpdf.org/forum/forum_posts.asp?TID=2932&PID=12600&title=drawcapturedpagematrix-matrix-howto#12600



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk