Maria GDK 4.5.0.137
Documentation of managed code in release branch
|
Factory for creating the different objects for performing offscreen exports. More...
Public Member Functions | |
async Task< IOffScreenRasterExporter > | NewOffScreenExporter (INativeRenderingManager renderingManager, GeoRect visibleGeoArea, int widthInPixels, int heightInPixels, bool adjustBitmapToViewport, double dpi, string displayProjection) |
Creates an implementation of IOffscreenRasterExport. The method also ensure that the WPF rendering thread has had some time to breathe, therefore it as made async. Has to be used with the async await pattern from the UI thread. | |
async Task< IOffScreenRasterExporter > | NewOffScreenExporterMetric (INativeRenderingManager renderingManager, GeoRect visibleGeoArea, double widthInMillimeters, double heightInMillimeters, bool adjustBitmapToViewport, double dpi, string displayProjection) |
Creates an implementation of IOffscreenRasterExport. The method also ensure that the WPF rendering thread has had some time to breathe, therefore it as made async. Has to be used with the async await pattern from the UI thread. | |
async Task< IComplexOffScreenExporter > | NewComplexOffScreenExporter (INativeRenderingManager renderingManager, GeoRect visibleGeoArea, int widthInPixels, int heightInPixels, bool adjustBitmapToViewport, double dpi, string displayProjection, int leftMarginInPixels, int topMarginInPixels, int rightMarginInPixels, int bottomMarginInPixels) |
Creates a new IComplexOffScreenExporter implementation based on pixel sizes. The method also ensure that the WPF rendering thread has had some time to breathe, therefore it as made async. Has to be used with the async await pattern from the UI thread. | |
async Task< IComplexOffScreenExporter > | NewComplexOffScreenExporterMetric (INativeRenderingManager renderingManager, GeoRect visibleGeoArea, double widthInMillimeters, double heightInMillimeters, bool adjustBitmapToViewport, double dpi, string displayProjection, double leftMarginInMillimeters, double topMarginInMillimeters, double rightMarginInMillimeters, double bottomMarginInMillimeters) |
Creates a new IComplexOffScreenExporter implementation based on metric sizes. The method also ensure that the WPF rendering thread has had some time to breathe, therefore it as made async. Has to be used with the async await pattern from the UI thread. | |
Factory for creating the different objects for performing offscreen exports.
|
inline |
Creates a new IComplexOffScreenExporter implementation based on pixel sizes. The method also ensure that the WPF rendering thread has had some time to breathe, therefore it as made async. Has to be used with the async await pattern from the UI thread.
renderingManager | |
visibleGeoArea | The geographical area to export. |
widthInPixels | The width in pixels of the resulting bitmap. |
heightInPixels | The height in pixels of the resulting bitmap. |
adjustBitmapToViewport | If true, the exported bitmap size will be adjusted to the map viewport. |
dpi | Dpi of the resulting bitmap. |
displayProjection | The display projection string. |
leftMarginInPixels | Left margin measured in pixels. |
topMarginInPixels | Top margin measured in pixels. |
rightMarginInPixels | Right margin measured in pixels. |
bottomMarginInPixels | Bottom margin measured in pixels. |
|
inline |
Creates a new IComplexOffScreenExporter implementation based on metric sizes. The method also ensure that the WPF rendering thread has had some time to breathe, therefore it as made async. Has to be used with the async await pattern from the UI thread.
renderingManager | |
visibleGeoArea | The geographical area to export. |
widthInMillimeters | The width in pixels of the resulting bitmap. |
heightInMillimeters | The height in pixels of the resulting bitmap. |
adjustBitmapToViewport | If true, the exported bitmap size will be adjusted to the map viewport. |
dpi | Dpi of the resulting bitmap. |
displayProjection | The display projection string. |
leftMarginInMillimeters | Left margin measured in millimeters. |
topMarginInMillimeters | Top margin measured in millimeters. |
rightMarginInMillimeters | Right margin measured in millimeters. |
bottomMarginInMillimeters | Bottom margin measured in millimeters. |
|
inline |
Creates an implementation of IOffscreenRasterExport. The method also ensure that the WPF rendering thread has had some time to breathe, therefore it as made async. Has to be used with the async await pattern from the UI thread.
renderingManager | |
visibleGeoArea | The geographical area to export. |
widthInPixels | The width in pixels of the resulting bitmap. |
heightInPixels | The height in pixels of the resulting bitmap. |
adjustBitmapToViewport | If true, the exported bitmap size will be adjusted to the map viewport. |
dpi | Dpi of the resulting bitmap. |
displayProjection | The display projection string. |
|
inline |
Creates an implementation of IOffscreenRasterExport. The method also ensure that the WPF rendering thread has had some time to breathe, therefore it as made async. Has to be used with the async await pattern from the UI thread.
renderingManager | |
visibleGeoArea | The geographical area to export. |
widthInMillimeters | The width in pixels of the resulting bitmap. |
heightInMillimeters | The height in pixels of the resulting bitmap. |
adjustBitmapToViewport | If true, the exported bitmap size will be adjusted to the map viewport. |
dpi | Dpi of the resulting bitmap. |
displayProjection | The display projection string. |