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
See Also