![](../icons/Help.png) | CMAPTEMPLATERenderPreviewMapProduction Method |
Render a preview for map sheet production purposes
Available since Oasis montaj version: 6.4
License: Available to anyone with an Oasis Montaj license.
Namespace: GeoEngine.Core.GXNetXAssembly: geoengine.core.gxnetx (in geoengine.core.gxnetx.dll)
Notes
This method can also be used to get the data view pixel location
by passing a null DC handle. This help to plot the view contents
preview from another location.
Syntaxpublic void RenderPreviewMapProduction(
IntPtr hdc,
ref int left,
ref int bottom,
ref int right,
ref int top
)
Public Sub RenderPreviewMapProduction (
hdc As IntPtr,
ByRef left As Integer,
ByRef bottom As Integer,
ByRef right As Integer,
ByRef top As Integer
)
public:
void RenderPreviewMapProduction(
IntPtr hdc,
int% left,
int% bottom,
int% right,
int% top
)
member RenderPreviewMapProduction :
hdc : IntPtr *
left : int byref *
bottom : int byref *
right : int byref *
top : int byref -> unit
Parameters
- hdc
- Type: SystemIntPtr
DC Handle (pass 0 to just query the Data view pixel location) - left
- Type: SystemInt32
Left value of the render rect in Windows coordinates (bottom>top) - bottom
- Type: SystemInt32
Bottom value - right
- Type: SystemInt32
Right value - top
- Type: SystemInt32
Top value
See Also