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


IVideoExporter.PutCustomSize Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Animation > ESRI.ArcGIS.Animation > Interfaces > IV > IVideoExporter Interface > IVideoExporter.PutCustomSize Method
ArcGIS Developer Help

IVideoExporter.PutCustomSize Method

The custom image size for video export.

[Visual Basic .NET]
Public Sub PutCustomSize ( _
    ByVal width As Integer, _
    ByVal height As Integer _
)
[C#]
public void PutCustomSize (
    int width,
    int height
);
[C++]
HRESULT PutCustomSize(
  Long width,
  Long height
);
[C++]
Parameters
width [in]

width is a parameter of type int height [in]
height is a parameter of type int

Product Availability

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

Remarks

If you choose to use custom size for the video, first you need to set the UseCustomSize property to true before calling the PutCustomSize method, as shown by the following code segment:
'To use custom size during the exporting, set the UseCustomSize property to true first
pVideoExporter.UseCustomSize = True
'then call the PutCustomSize method

Call pVideoExporter.PutCustomSize(500, 500)

See Also

IVideoExporter Interface