'Declaration
Public Overloads Function SetAnnotationColor( _ ByVal AnnotationIdx As Integer, _ ByVal Cyan As Byte, _ ByVal Magenta As Byte, _ ByVal Yellow As Byte, _ ByVal Black As Byte _ ) As GdPictureStatus
public GdPictureStatus SetAnnotationColor( int AnnotationIdx, byte Cyan, byte Magenta, byte Yellow, byte Black )
public function SetAnnotationColor( AnnotationIdx: Integer; Cyan: Byte; Magenta: Byte; Yellow: Byte; Black: Byte ): GdPictureStatus;
public function SetAnnotationColor( AnnotationIdx : int, Cyan : byte, Magenta : byte, Yellow : byte, Black : byte ) : GdPictureStatus;
public: GdPictureStatus SetAnnotationColor( int AnnotationIdx, byte Cyan, byte Magenta, byte Yellow, byte Black )
public: GdPictureStatus SetAnnotationColor( int AnnotationIdx, byte Cyan, byte Magenta, byte Yellow, byte Black )
Parameters
- AnnotationIdx
- The 0-based index of the required annotation within the current page. It must be a value from 0 to GetAnnotationCount-1.
- 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 color to be used for the resulting color. Use the value between 0 and 255.
- Yellow
- The amount of yellow color to be used for the resulting color. Use the value between 0 and 255.
- Black
- The amount of black color to be used for the resulting color. Use the value between 0 and 255.
Return Value
A member of the GdPictureStatus enumeration. If the method has been successfully followed, then the return value is GdPictureStatus.OK.
We strongly recommend always checking this status first.