NewTilingPatternFromCapturedPage
Gráficos vetoriais, Cor
Descrição
Esta função converte uma página capturada em um padrão de mosaico (tiling pattern) e adiciona o padrão ao documento atual
O padrão pode ser usado com a função SetFillTilingPattern para definir a cor dos gráficos vetoriais desenhados em seguida
Sintaxe
Delphi
Function TPDFlib.NewTilingPatternFromCapturedPage(Const PatternName: WideString; CaptureID: Integer): Integer;
ActiveX
Function PDFlib::NewTilingPatternFromCapturedPage(PatternName As String, CaptureID As Long) As Long
DLL
int DLNewTilingPatternFromCapturedPage(int InstanceID, const wchar_t * PatternName, int CaptureID);
Parâmetros
| 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. |
Valores retornados
| 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 |