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


IVideoExporter.PutCustomSize Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Animation)  

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 Long height [in] height is a parameter of type Long

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