Click or drag to resize
SoMarkerSetAddMarker Method (Int32, SbVec2s, Byte, Boolean, Boolean)

Add a new marker with index markerIndex .

Namespace: OIV.Inventor.Nodes
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax
public static void AddMarker(
	int markerIndex,
	SbVec2s size,
	byte[] bytes,
	bool isLSBFirst,
	bool isUpToDown
)

Parameters

markerIndex
Type: SystemInt32
size
Type: OIV.InventorSbVec2s
bytes
Type: SystemByte
isLSBFirst
Type: SystemBoolean
isUpToDown
Type: SystemBoolean
Remarks

If the marker exists, it is replaced. size is the size of the marker in pixels. bytes is the marker bitmap. The bitmap is arranged row by row from left to right and top to bottom (according to the parameter isUpToDown ). Each byte in the bitmap corresponds to eight pixels. Open Inventor makes a copy of the bitmap.

isLSBFirst : If true, bits are ordered within a byte from least significant to most significant; otherwise the first bit in each byte is the most significant one.

isUpToDown : If true, marker bitmap is described from top to bottom (bytes[0] is the left top corner of the bitmap), otherwise from bottom to top (bytes[0] is the bottom left corner).

See Also