NewTilingPatternFromCapturedPage

ベクターグラフィックス、カラー

説明

キャプチャページをタイリングパターンへ変換し、現在の文書へパターンを追加します

このパターンは SetFillTilingPattern 関数と共に使用して、以降に描画するベクターグラフィックの色を設定できます

構文

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);

パラメータ

PatternNameタイリングパターンの名前です。英数字だけで構成され、空白を含まない単純な文字列にする必要があります。この名前は SetFillTilingPattern 関数で使用します
CaptureIDCapturePage または CapturePageEx 関数から返された ID

戻り値

0キャプチャしたページをタイリングパターンへ変換できませんでした。CaptureID パラメーターが無効であるか、PatternName がすでに使用されている可能性があります
1Success