AnnGetROP2 method (ILEADRasterAnnotation)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

short AnnGetROP2(long hObject);

Overview

Refer to Implementing Annotations.

Remarks

(Document/Medical only) Gets a constant that indicates which binary raster operation (ROP2) code is being used for one or more objects. ROP2 codes specify how pen or brush colors are to be combined with the colors in the image.

The AnnGetROP2 method is valid only for the following object types:

Crossproduct

Curve

Closed Curve

Ellipse

Freehand Line

Freehand Hotspot

Line

Pointer

Point

Polygon

Polyline

Polyruler

Protractor

Rectangle

Ruler

Stamp (including the Rubber Stamp tools)

Text Pointer

In addition, the Automation object stores ROP2 settings along with the other object default settings

See Also

Elements

AnnAlpha property, AnnAutoSnapCursor property, AnnCalibrateRuler method, AnnFillMode property, AnnGetFillModeExt method, AnnGetOptions method, AnnGetRotateOptions method, AnnGetTextOptions method, AnnSetFillModeExt method, AnnSetOptions method, AnnSetRotateOptions method, AnnSetTextOptions method, AnnShowBorder property, AnnShowRotateHandles property, AnnShowText property, AnnTextColor property, AnnTextEdit method, AnnSetROP2 method, AnnGetFillMode method, AnnSetFillMode method, AnnGetTransparent method, AnnSetTransparent method

Topics

Annotations (Document/Medical only): Object Manipulation

 

Annotations (Document/Medical only): Displaying Annotations

 

Annotations (Document/Medical only): Getting and Setting Color Properties

 

Displaying and Manipulating Annotation Objects

 

Obtaining Annotation Object Information