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


IWin32Shape.ExportToWin32Shape Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IW > IWin32Shape Interface > IWin32Shape.ExportToWin32Shape Method
ArcGIS Developer Help

IWin32Shape.ExportToWin32Shape Method

Exports a set of GDI drawing instruction for this geometry to the specified buffer. The exact number of bytes written is returned.

[Visual Basic .NET]
Public Sub ExportToWin32Shape ( _
    ByVal Transform As ITransformation, _
    ByVal displayExtent As IEnvelope, _
    ByRef byteCount As Integer, _
    ByVal byteBuffer As IntPtr, _
    ByVal compatibleBuffer As Boolean, _
    ByRef dice As Boolean _
)
[C#]
public void ExportToWin32Shape (
    ITransformation Transform,
    IEnvelope displayExtent,
    ref int byteCount,
    ref IntPtr byteBuffer,
    ref bool compatibleBuffer,
    ref bool dice
);
[C++]
HRESULT ExportToWin32Shape(
  ITransformation* Transform,
  IEnvelope* displayExtent,
  System.Int32* byteCount,
  System.Byte** byteBuffer,
  VARIANT_BOOL compatibleBuffer,
  Boolean* dice
);
[C++]
Parameters
Transform 

Transform is a parameter of type ITransformation* displayExtent
displayExtent is a parameter of type IEnvelope* byteCount [in, out]
byteCount is a parameter of type long* byteBuffer [out]
byteBuffer is a parameter of type unsigned char** compatibleBuffer
compatibleBuffer is a parameter of type bool dice [in, out]
dice is a parameter of type bool*

Product Availability

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

See Also

IWin32Shape Interface