Creates a new LayoutView for an ArcMap image service.
Syntax
Visual Basic (Declaration) | |
---|
Public Function CreateLayoutView() As LayoutView |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As MapService
Dim value As LayoutView
value = instance.CreateLayoutView() |
Return Value
A new LayoutView for ArcMap services, or null for standard image services.
Example
This example creates a layout view from an existing MapService object and prints a property of the layout view. See
LayoutView class for more examples.
C# | Copy Code |
---|
LayoutView layoutView = mapService.CreateLayoutView();
lblLayoutInfo.Text = "Layout page units are " + layoutView.Units.ToString(); |
Visual Basic | Copy Code |
---|
Dim layoutView As LayoutView = mapService.CreateLayoutView()
lblLayoutInfo.Text = "Layout page units are " + layoutView.Units.ToString() |
Remarks
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also