Pdf - PdfGridBuiltinStyle

30 Sep 20264 minutes to read

Public enum that specifies the built-in PdfGrid appearance.

// Load an existing PDF document
let document: PdfDocument = new PdfDocument(data, password);
// Access the first page
let page: PdfPage = document.getPage(0);
// Create a data-source grid using a built-in style
let grid: PdfGrid = new PdfGrid([{ id: '1' }], [{ field: 'id' }], {builtInStyle: PdfGridBuiltinStyle.tableGrid});
// Draw the grid on the page
grid.draw(page, { x: 10, y: 10, width: 240, height: 160 });
// Save the document
document.save('output.pdf');
// Destroy the document
document.destroy();
  • gridTable1Light - Specifies the type of gridTable1Light.
  • gridTable1LightAccent1 - Specifies the type of gridTable1LightAccent1.
  • gridTable1LightAccent2 - Specifies the type of gridTable1LightAccent2.
  • gridTable1LightAccent3 - Specifies the type of gridTable1LightAccent3.
  • gridTable1LightAccent4 - Specifies the type of gridTable1LightAccent4.
  • gridTable1LightAccent5 - Specifies the type of gridTable1LightAccent5.
  • gridTable1LightAccent6 - Specifies the type of gridTable1LightAccent6.
  • gridTable2 - Specifies the type of gridTable2.
  • gridTable2Accent1 - Specifies the type of gridTable2Accent1.
  • gridTable2Accent2 - Specifies the type of gridTable2Accent2.
  • gridTable2Accent3 - Specifies the type of gridTable2Accent3.
  • gridTable2Accent4 - Specifies the type of gridTable2Accent4.
  • gridTable2Accent5 - Specifies the type of gridTable2Accent5.
  • gridTable2Accent6 - Specifies the type of gridTable2Accent6.
  • gridTable3 - Specifies the type of gridTable3.
  • gridTable3Accent1 - Specifies the type of gridTable3Accent1.
  • gridTable3Accent2 - Specifies the type of gridTable3Accent2.
  • gridTable3Accent3 - Specifies the type of gridTable3Accent3.
  • gridTable3Accent4 - Specifies the type of gridTable3Accent4.
  • gridTable3Accent5 - Specifies the type of gridTable3Accent5.
  • gridTable3Accent6 - Specifies the type of gridTable3Accent6.
  • gridTable4 - Specifies the type of gridTable4.
  • gridTable4Accent1 - Specifies the type of gridTable4Accent1.
  • gridTable4Accent2 - Specifies the type of gridTable4Accent2.
  • gridTable4Accent3 - Specifies the type of gridTable4Accent3.
  • gridTable4Accent4 - Specifies the type of gridTable4Accent4.
  • gridTable4Accent5 - Specifies the type of gridTable4Accent5.
  • gridTable4Accent6 - Specifies the type of gridTable4Accent6.
  • gridTable5Dark - Specifies the type of gridTable5Dark.
  • gridTable5DarkAccent1 - Specifies the type of gridTable5DarkAccent1.
  • gridTable5DarkAccent2 - Specifies the type of gridTable5DarkAccent2.
  • gridTable5DarkAccent3 - Specifies the type of gridTable5DarkAccent3.
  • gridTable5DarkAccent4 - Specifies the type of gridTable5DarkAccent4.
  • gridTable5DarkAccent5 - Specifies the type of gridTable5DarkAccent5.
  • gridTable5DarkAccent6 - Specifies the type of gridTable5DarkAccent6.
  • gridTable6Colorful - Specifies the type of gridTable6Colorful.
  • gridTable6ColorfulAccent1 - Specifies the type of gridTable6ColorfulAccent1.
  • gridTable6ColorfulAccent2 - Specifies the type of gridTable6ColorfulAccent2.
  • gridTable6ColorfulAccent3 - Specifies the type of gridTable6ColorfulAccent3.
  • gridTable6ColorfulAccent4 - Specifies the type of gridTable6ColorfulAccent4.
  • gridTable6ColorfulAccent5 - Specifies the type of gridTable6ColorfulAccent5.
  • gridTable6ColorfulAccent6 - Specifies the type of gridTable6ColorfulAccent6.
  • gridTable7Colorful - Specifies the type of gridTable7Colorful.
  • gridTable7ColorfulAccent1 - Specifies the type of gridTable7ColorfulAccent1.
  • gridTable7ColorfulAccent2 - Specifies the type of gridTable7ColorfulAccent2.
  • gridTable7ColorfulAccent3 - Specifies the type of gridTable7ColorfulAccent3.
  • gridTable7ColorfulAccent4 - Specifies the type of gridTable7ColorfulAccent4.
  • gridTable7ColorfulAccent5 - Specifies the type of gridTable7ColorfulAccent5.
  • gridTable7ColorfulAccent6 - Specifies the type of gridTable7ColorfulAccent6.
  • listTable1Light - Specifies the type of listTable1Light.
  • listTable1LightAccent1 - Specifies the type of listTable1LightAccent1.
  • listTable1LightAccent2 - Specifies the type of listTable1LightAccent2.
  • listTable1LightAccent3 - Specifies the type of listTable1LightAccent3.
  • listTable1LightAccent4 - Specifies the type of listTable1LightAccent4.
  • listTable1LightAccent5 - Specifies the type of listTable1LightAccent5.
  • listTable1LightAccent6 - Specifies the type of listTable1LightAccent6.
  • listTable2 - Specifies the type of listTable2.
  • listTable2Accent1 - Specifies the type of listTable2Accent1.
  • listTable2Accent2 - Specifies the type of listTable2Accent2.
  • listTable2Accent3 - Specifies the type of listTable2Accent3.
  • listTable2Accent4 - Specifies the type of listTable2Accent4.
  • listTable2Accent5 - Specifies the type of listTable2Accent5.
  • listTable2Accent6 - Specifies the type of listTable2Accent6.
  • listTable3 - Specifies the type of listTable3.
  • listTable3Accent1 - Specifies the type of listTable3Accent1.
  • listTable3Accent2 - Specifies the type of listTable3Accent2.
  • listTable3Accent3 - Specifies the type of listTable3Accent3.
  • listTable3Accent4 - Specifies the type of listTable3Accent4.
  • listTable3Accent5 - Specifies the type of listTable3Accent5.
  • listTable3Accent6 - Specifies the type of listTable3Accent6.
  • listTable4 - Specifies the type of listTable4.
  • listTable4Accent1 - Specifies the type of listTable4Accent1.
  • listTable4Accent2 - Specifies the type of listTable4Accent2.
  • listTable4Accent3 - Specifies the type of listTable4Accent3.
  • listTable4Accent4 - Specifies the type of listTable4Accent4.
  • listTable4Accent5 - Specifies the type of listTable4Accent5.
  • listTable4Accent6 - Specifies the type of listTable4Accent6.
  • listTable5Dark - Specifies the type of listTable5Dark.
  • listTable5DarkAccent1 - Specifies the type of listTable5DarkAccent1.
  • listTable5DarkAccent2 - Specifies the type of listTable5DarkAccent2.
  • listTable5DarkAccent3 - Specifies the type of listTable5DarkAccent3.
  • listTable5DarkAccent4 - Specifies the type of listTable5DarkAccent4.
  • listTable5DarkAccent5 - Specifies the type of listTable5DarkAccent5.
  • listTable5DarkAccent6 - Specifies the type of listTable5DarkAccent6.
  • listTable6Colorful - Specifies the type of listTable6Colorful.
  • listTable6ColorfulAccent1 - Specifies the type of listTable6ColorfulAccent1.
  • listTable6ColorfulAccent2 - Specifies the type of listTable6ColorfulAccent2.
  • listTable6ColorfulAccent3 - Specifies the type of listTable6ColorfulAccent3.
  • listTable6ColorfulAccent4 - Specifies the type of listTable6ColorfulAccent4.
  • listTable6ColorfulAccent5 - Specifies the type of listTable6ColorfulAccent5.
  • listTable6ColorfulAccent6 - Specifies the type of listTable6ColorfulAccent6.
  • listTable7Colorful - Specifies the type of listTable7Colorful.
  • listTable7ColorfulAccent1 - Specifies the type of listTable7ColorfulAccent1.
  • listTable7ColorfulAccent2 - Specifies the type of listTable7ColorfulAccent2.
  • listTable7ColorfulAccent3 - Specifies the type of listTable7ColorfulAccent3.
  • listTable7ColorfulAccent4 - Specifies the type of listTable7ColorfulAccent4.
  • listTable7ColorfulAccent5 - Specifies the type of listTable7ColorfulAccent5.
  • listTable7ColorfulAccent6 - Specifies the type of listTable7ColorfulAccent6.
  • plainTable1 - Specifies the type of plainTable1.
  • plainTable2 - Specifies the type of plainTable2.
  • plainTable3 - Specifies the type of plainTable3.
  • plainTable4 - Specifies the type of plainTable4.
  • plainTable5 - Specifies the type of plainTable5.
  • tableGrid - Specifies the type of tableGrid.
  • tableGridLight - Specifies the type of tableGridLight.