Debenu Quick PDF logo

SetTableThinBorders

Page layout

Version history

This function was introduced in Quick PDF Library version 8.14.

Description

Sets a table to use thin border lines instead of bevelled edges. These lines appear as a single pixel width for all zoom levels. The width of this line cannot be changed by the function SetTableCellBorderWidth.

The lines are drawn using the color specified by the Red, Green and Blue parameters.

Syntax

Delphi

function TDebenuPDFLibrary1811.SetTableThinBorders(TableID, ThinBorders: Integer; 
  Red, Green, Blue: Double): Integer;

ActiveX

Function DebenuPDFLibrary1811.PDFLibrary::SetTableThinBorders(TableID As Long,
  ThinBorders As Long, Red As Double, Green As Double,
  Blue As Double) As Long

DLL

int DPLSetTableThinBorders(int InstanceID, int TableID, int ThinBorders, double Red,
  double Green, double Blue)

Parameters

TableID A TableID returned by the CreateTable function
ThinBorders 0 = Use bevelled edges (the default)
1 = Use thin lines
Red The red component of the color, a value from 0 to 1
Green The green component of the color, a value from 0 to 1
Blue The blue component of the color, a value from 0 to 1

Return values

0 The table line style could not be set
1 The table line style was set successfully

Copyright © 2020 Debenu. All rights reserved. AboutContactBlogNewsletterSupport