Click or drag to resize

IMcGraphObjRRect2Opacity Property

Percentage opacity of the object, from 0 (invisible) to 100 (opaque).

Namespace:  MediaCy.IQL.Display.Overlays
Assembly:  MediaCy.IQL.Display.Overlays (in MediaCy.IQL.Display.Overlays.dll) Version: 10.0.6912.0
Syntax
VB
Property Opacity As Integer
	Get
	Set

Property Value

Type: Int32
Remarks
Values assigned outside the range from zero to 100 are silently truncated to those limits. Assigning a value of zero is legal, but renders the object completely invisible; this has the same effect as clearing the mcgsVisible Style bit (but is much less efficient and potentially much more confusing). Each McGraphObj is part of a layer and each layer has a McGraphOverlay.LayerOpacity property. The McGraphObj.Opacity property is combined with its Layer's LayerOpacity to determine the overall opacity of the object. The formula used is (fLayerOpacity*fOpacity)*100, where fLayerOpacity is LayerOpacity/100 and fOpacity is McGraphObj.Opacity/100. So if LayerOpacity and McGraphObj.Opacity are both 100, overall opacity is 100 (opaque) if either LayerOpacity or McGraphObj.Opacity is zero, then overall opacity is zero (invisible). If LayerOpacity and McGraphObj.Opacity are both 50, then overall opacity is 25 (very wispy) if either one is 100 and the other is less than 100, then overall opacity will be the less than 100 value. When McGraphOverlay.BurnIn is called, the image showing through translucent objects is always rendered with a resolution of one-part in 256, even on high bit depth images.
See Also