This document is archived and information here might be outdated.  Recommended version.

IRasterLayerExport.Force2RGB Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IR > IRasterLayerExport Interface > IRasterLayerExport.Force2RGB Property
ArcGIS Developer Help

IRasterLayerExport.Force2RGB Property

Indicates whether to force exported raster to be RGB.

[Visual Basic .NET]
Public WriteOnly Property Force2RGB
public void Force2RGB {set;}
HRESULT put_Force2RGB(

is a parameter of type bool

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IRasterLayerExport Interface