Print Page | Close Window

SetTableBorderWidth returns 1

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=4015
Printed Date: 18 May 24 at 4:54AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: SetTableBorderWidth returns 1
Posted By: bpeikes
Subject: SetTableBorderWidth returns 1
Date Posted: 29 Jun 23 at 11:34PM
I'm calling SetTableBorderWidth(tableID, 0,0) which should turn the borders off on the table, but for some reason it SetTableBorderWidth is returning 1. How do you turn off borders on the table? Am I missing something?



Replies:
Posted By: tfrost
Date Posted: 30 Jun 23 at 9:54AM
The source code (but not the documentation, which is silent on the return value) reveals that this function returns 1 on success and 0 on failure. The internal table method has a boolean result. 'Failure' is an invalid table ID or a BorderIndex outside the range 0..4.



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