Debenu Quick PDF logo


Vector graphics, Color

Version history

This function was introduced in Quick PDF Library version 8.16.


This function converts a captured page into a tiling pattern and adds the pattern to the current document.

The pattern can be used with the SetFillTilingPattern function to set the color of subsequently drawn vector graphics.



function TDebenuPDFLibrary1811.NewTilingPatternFromCapturedPage(
  PatternName: WideString; CaptureID: Integer): Integer;


Function DebenuPDFLibrary1811.PDFLibrary::NewTilingPatternFromCapturedPage(
  PatternName As String, CaptureID As Long) As Long


int DPLNewTilingPatternFromCapturedPage(int InstanceID, wchar_t * PatternName,
  int CaptureID)


PatternName The name of the tiling pattern. Should be a simple string consisting of alphanumeric characters and no whitespace. This name is used with the SetFillTilingPattern function.
CaptureID The ID returned by the CapturePage or CapturePageEx functions.

Return values

0 The captured page could not be converted into a tiling pattern. The CaptureID parameter might be invalid or the PatternName has already been used.
1 Success

Copyright © 2020 Debenu. All rights reserved. AboutContactBlogNewsletterSupport