SptReplaceColor()

 visits
Parent Previous Next

Syntax

SptReplaceColor(bBuffer As bTftLibParameter1, wColor1 As wTftLibParameter1, wColor2 As wTftLibParameter2), Byte

Overview

Replaces occurrences of wColor1 with wColor2 in the specified buffer.

Parameters

Parameter

Description

bBuffer

buffer where the color replacement will occur

wColor1

color value to search for and replace

wColor2

new color value that will replace wColor1

Return value

Value

Meaning

0

success

1

invalid buffer

Created with the Personal Edition of HelpNDoc: Make Your PDFs More Secure with Encryption and Password Protection