This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IR > IRasterLayerExport Interface > IRasterLayerExport.SetSize Method (ArcObjects .NET 10.5 SDK) |
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
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.