This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMxdServer Interface > IMxdServer.ExportNorthArrow Method (ArcObjects .NET 10.4 SDK) |
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 Long imageWidth [in] imageWidth is a parameter of type Long imageHeight [in] imageHeight is a parameter of type Long 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