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


IRasterLayerExport.SetSize Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

IRasterLayerExport.SetSize Method

Sets the number of columns and rows of the exported raster.

[Visual Basic .NET]
Public Sub SetSize ( _
    ByVal cx As Integer, _
    ByVal cy As Integer _
)
[C#]
public void SetSize (
    int cx,
    int cy
);
[C++]
HRESULT SetSize(
  long cx,
  long cy
);
[C++]

Parameters cx [in] cx is a parameter of type long cy [in] cy is a parameter of type long

Product Availability

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

Remarks

The SetSize method is used to set the column and row of the output raster. The ForceRGB property indicates to export a raster dataset with red, green and blue bands.

See Also

IRasterLayerExport Interface