Debenu Quick PDF logo

NewTilingPatternFromCapturedPage

Vector graphics, Color

Version history

This function was introduced in Quick PDF Library version 8.16.

Description

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.

Syntax

Delphi

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

ActiveX

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

DLL

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

Parameters

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 © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport