Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!
![]() |
differentiated two equal functions |
Post Reply ![]() |
Author | |
Devil ![]() Team Player ![]() ![]() Joined: 15 Dec 05 Location: Germany Status: Offline Points: 25 |
![]() ![]() ![]() ![]() ![]() Posted: 25 Oct 06 at 10:54PM |
Hi @all, How do the following functions differ? Function SaveToFile(filename) Function SaveToVariant() Ok, the one stores a file on harddisk, the other one in an array. Why stores “SaveToVariant” not the same as “SaveToFile”, specially the graphic images of the Checkboxes. |
|
![]() |
|
bogey ![]() Senior Member ![]() ![]() Joined: 30 Nov 05 Location: United States Status: Offline Points: 50 |
![]() ![]() ![]() ![]() ![]() |
SaveToFile is just that - writes to disk SaveToVariant creates a byte array stream. It can be used to stream a pdf file to the browser like this: Response.ContentType = "application/pdf" Edited by bogey |
|
![]() |
|
Devil ![]() Team Player ![]() ![]() Joined: 15 Dec 05 Location: Germany Status: Offline Points: 25 |
![]() ![]() ![]() ![]() ![]() |
it's nice to repeat my answer, but did not answer my question !!! |
|
![]() |
|
bogey ![]() Senior Member ![]() ![]() Joined: 30 Nov 05 Location: United States Status: Offline Points: 50 |
![]() ![]() ![]() ![]() ![]() |
If you want the data in the same format as the SaveToFile() method, try using the SaveToString() method. The two methods do different things. They are not used for the same thing. I guess I just don't understand your question... |
|
![]() |
|
Devil ![]() Team Player ![]() ![]() Joined: 15 Dec 05 Location: Germany Status: Offline Points: 25 |
![]() ![]() ![]() ![]() ![]() |
Hi bogey, both funktions doing the same but gives a different result. What the differentiate behind both funktions ? Why does SaveToFile handle the checkboxes right and SaveToVariant not ? Regards Devil |
|
![]() |
|
Ingo ![]() Moderator Group ![]() ![]() Joined: 29 Oct 05 Status: Offline Points: 3529 |
![]() ![]() ![]() ![]() ![]() |
Hi Thomas!
Bogey isn't the author of this function! I hope you know what i mean ... Best regards, Ingo BTW: You can look into the function sources with a source license - why not join us? Please look at http://www.quickpdf.org/forum/forum_posts.asp?TID=539&PN=1 |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store