Click or drag to resize
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.GXNetX
Assembly: 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.
Syntax
public void RenderPreviewMapProduction(
	IntPtr hdc,
	ref int left,
	ref int bottom,
	ref int right,
	ref int top
)

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