Click or drag to resize

BookmarkGetColor Method

Gets the Bookmark's RGB color value.

Namespace:  pdftron.PDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public void GetColor(
	DoubleRef out_r,
	DoubleRef out_g,
	DoubleRef out_b
)

Parameters

out_r
Type: pdftron.CommonDoubleRef
red component in the DeviceRGB color space
out_g
Type: pdftron.CommonDoubleRef
green component in the DeviceRGB color space
out_b
Type: pdftron.CommonDoubleRef
blue component in the DeviceRGB color space
Examples
The three numbers out_r, out_g, and out_b are in the range 0.0 to 1.0, representing the components in the DeviceRGB color space of the color to be used for the Bookmark's text.
double red, green, blue;
bookmark.GetColor(red, green, blue);
See Also