'Declaration
Public Overloads Function SetBookmarkColor( _ ByVal BookmarkID As Integer, _ ByVal Cyan As Byte, _ ByVal Magenta As Byte, _ ByVal Yellow As Byte, _ ByVal Black As Byte _ ) As GdPictureStatus
public GdPictureStatus SetBookmarkColor( int BookmarkID, byte Cyan, byte Magenta, byte Yellow, byte Black )
public function SetBookmarkColor( BookmarkID: Integer; Cyan: Byte; Magenta: Byte; Yellow: Byte; Black: Byte ): GdPictureStatus;
public function SetBookmarkColor( BookmarkID : int, Cyan : byte, Magenta : byte, Yellow : byte, Black : byte ) : GdPictureStatus;
public: GdPictureStatus SetBookmarkColor( int BookmarkID, byte Cyan, byte Magenta, byte Yellow, byte Black )
public: GdPictureStatus SetBookmarkColor( int BookmarkID, byte Cyan, byte Magenta, byte Yellow, byte Black )
Parameters
- BookmarkID
- A unique bookmark identifier specifying a required bookmark object.
You can obtain this identifier using these methods: GdPicturePDF.NewBookmark, GdPicturePDF.GetBookmarkRootID, GdPicturePDF.GetBookmarkFirstChildID, GdPicturePDF.GetBookmarkNextID, GdPicturePDF.GetBookmarkPrevID or GdPicturePDF.GetBookmarkParentID.
- Cyan
- The amount of cyan color to be used for the resulting color. Use the value between 0 and 255.
- Magenta
- The amount of magenta to be used for the resulting color. Use the value between 0 and 255.
- Yellow
- The amount of yellow to be used for the resulting color. Use the value between 0 and 255.
- Black
- The amount of black (key) color to be used for the resulting color. Use the value between 0 and 255.
Return Value
We strongly recommend always checking this status first.