Class ExtensionMethods
Extension methods
Inheritance
System.Object
ExtensionMethods
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: OSGeo.MapGuide.ObjectModels.DrawingSource
Assembly: OSGeo.MapGuide.MaestroAPI.dll
Syntax
public static class ExtensionMethods
Methods
| Improve this Doc View SourceRegenerateSheetList(IDrawingSource, IServerConnection)
Regenerates the sheet list in this drawing source.
Declaration
public static bool RegenerateSheetList(this IDrawingSource source, IServerConnection conn)
Parameters
Type | Name | Description |
---|---|---|
IDrawingSource | source | The drawing source |
IServerConnection | conn | The server connection |
Returns
Type | Description |
---|---|
System.Boolean | True if sheets were regenerated. False otherwise |
UpdateExtents(IDrawingSource, IServerConnection)
Updates the extents of all sheets based on their respective AutoCAD Viewport Data in the embedded PIA resource
Declaration
public static void UpdateExtents(this IDrawingSource source, IServerConnection conn)
Parameters
Type | Name | Description |
---|---|---|
IDrawingSource | source | The drawing source |
IServerConnection | conn | The server connection |