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


IMxdServer.ExportNorthArrow Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMxdServer Interface > IMxdServer.ExportNorthArrow Method
ArcGIS Developer Help

IMxdServer.ExportNorthArrow Method

Exports a north arrow to an image file. The client can create the pArrow object and set its desired properties appropriately. If pArrow is null, a default north arrow will be generated for the default map.

[Visual Basic .NET]
Public Sub ExportNorthArrow ( _
    ByVal arrow As INorthArrow, _
    ByVal Dpi As Integer, _
    ByVal imageWidth As Integer, _
    ByVal imageHeight As Integer, _
    ByVal BackgroundColor As IColor, _
    ByVal fileType As String, _
    ByVal outputFileName As String _
)
[C#]
public void ExportNorthArrow (
    INorthArrow arrow,
    int Dpi,
    int imageWidth,
    int imageHeight,
    IColor BackgroundColor,
    string fileType,
    string outputFileName
);
[C++]
HRESULT ExportNorthArrow(
  INorthArrow* arrow,
  Long Dpi,
  Long imageWidth,
  Long imageHeight,
  IColor* BackgroundColor,
  BSTR fileType,
  BSTR outputFileName
);
[C++]
Parameters
arrow [in]

arrow is a parameter of type INorthArrow* Dpi [in]
Dpi is a parameter of type int imageWidth [in]
imageWidth is a parameter of type int imageHeight [in]
imageHeight is a parameter of type int BackgroundColor [in]
BackgroundColor is a parameter of type IColor* fileType [in]
fileType is a parameter of type BSTR outputFileName [in]
outputFileName is a parameter of type BSTR

Product Availability

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

See Also

IMxdServer Interface