35
activePDF Toolkit Professional Edition
aptkl4a 30405
Copyright 2005, activePDF, Inc. All Rights Reserved.
Page 295 of 553
AmountGreen
Description
Sets and retrieves the amount of green in a field.
Return type
Short
Description
The amount of green. The value ranges from 0 to 255 with 255 being true green.
Syntax
value = object.
AmountGreen
= value
The AmountGreen property has these required parts:
Part
Value Type
Description
Object
An expression of the PDFFieldInfo subobject.
Value
Short
The amount of green. The value ranges from 0 to 255 with 255 being
true green.
Remarks
You can use this in conjunction with the AmountBlue and AmountRed properties.
Example
strPath = CreateObject("Scripting.FileSystemObject").GetAbsolutePathName(".") & "\"
Set TK = CreateObject("APToolkit.Object")
r = TK.OpenInputFile("Input.pdf")
Set FIO = TK.FieldInfo("test", 1)
MsgBox FIO.AmountGreen
Set FIO = Nothing
Set TK = Nothing