![]()  | 
                    
                         This document is archived and information here might be outdated. Recommended version.  | 
                
| ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IW > IWin32Shape Interface > IWin32Shape.ExportToWin32Shape Method (ArcObjects .NET 10.4 SDK) | 
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,
  long* byteCount,
  Byte** byteBuffer,
  VARIANT_BOOL compatibleBuffer,
  VARIANT_BOOL* 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 Byte compatibleBuffer compatibleBuffer is a parameter of type VARIANT_BOOL dice [in, out] dice is a parameter of type VARIANT_BOOL