ENCX SDK
5.5.0.926
|
Display a bounded raster chart via a Win32 Device Context. More...
import"encxcom.idl";
Public Member Functions | |
HRESULT | OpenChart ([in] IRasManager *rasmanager, [in] BSTR ChartIdentifier) |
Use a specific chart. More... | |
HRESULT | PanelAtPoint ([in] IPixelPoint *ipPixelPt, [out, retval] IRasPanelIdentifier **rpid) |
Obtain the identity of the panel at a specified pixel position. More... | |
HRESULT | GeoPix ([in] IPixelPoint *ipPixelPt, [out, retval] IGeoPix **geoPix) |
Obtain the GeoPix at a specified pixel position. More... | |
HRESULT | HorizontalDatum ([in] IPixelPoint *ipPixelPt, [out, retval] IHorizontalDatum **hd) |
Obtain the HorizontalDatum at a specified pixel position. More... | |
HRESULT | Draw ([in] OLE_HANDLE hDC) |
Draw the Rect() portion of the chart to the specified device context. More... | |
HRESULT | PanelNotes ([in] IRasPanelIdentifier *panelId, [out, retval] IRasPanelNotes **pVal) |
Obtain a collection of notes associated with the specified panel. More... | |
HRESULT | GetRect ([out, retval] IPixelRect **rect) |
The area of the chart to be drawn. Pixel position (0,0) is always at the top left corner of the chart. More... | |
HRESULT | SetRect ([in] IPixelRect *rect) |
The area of the chart to be drawn. Pixel position (0,0) is always at the top left corner of the chart. More... | |
HRESULT | OpenAtPositionOnPanel ([in] IRasManager *rasManager, [in] IRasChartPanelIdentifier *chartAndPanel, [in] IGeoPoint *geoPt) |
Set the view rectangle to display the geographical position specified on the panel specified. Returns true if it succeeded. More... | |
HRESULT | PanelGeoPix ([in] IRasPanelIdentifier *panelID, [out, retval] IGeoPix **geoPix) |
Obtain the GeoPix for the specified panel. More... | |
Properties | |
BSTR | ChartIdentifier [get] |
The chart's number. Not necessarily numeric. E.g. "109", "2182C", "AUS1234". More... | |
VARIANT_BOOL | DisplayFullSize [get, set] |
When true, the chart will be drawn at a much reduced size (typically 1/6th of normal size). More... | |
VARIANT_BOOL | HasUpdates [get] |
True iff there are currently corrections on the chart. More... | |
VARIANT_BOOL | DisplayUpdates [get, set] |
Draw the chart using the available updates. On by default. More... | |
VARIANT_BOOL | IndicateUpdates [get, set] |
Highlight the updated areas on the chart. Off by default. More... | |
IDisplayPalette | DisplayPalette [get, set] |
The colour scheme for the chart. Use to draw the chart with lower luminance for twilight and night viewing. More... | |
BSTR | PermanentMessage [get] |
This message should be displayed on top of the chart at all times. More... | |
BSTR | WarningMessage [get] |
This message should be brought to the operator's attention when the chart is opened. More... | |
BSTR | UpdateMessage [get] |
This message should be brought to the operator's attention when the chart is opened. More... | |
IGeoPixCollection | VisibleGeoPix [get] |
Obtain a snapshot of all the geopixes that are inside Rect(). If you call this property twice you will get a different collection though it will behave identically provided Rect has not changed. In .NET ReferenceEquals(draw.VisibleGeoPix, draw.VisibleGeoPix) will be false. More... | |
DOUBLE | PixelSizeMetres [get] |
Returns the nominal size of a pixel. More... | |
IPixelSize | ChartSize [get] |
Return the size of the whole chart in pixels, allowing for it being either full-size or overview. More... | |
ULONG | Magnify [get, set] |
Magnification of raster image - 100% is normal. Range is from 25% to 4000% in 25% intervals. More... | |
Display a bounded raster chart via a Win32 Device Context.
Supports
Properties and methods via IRasDraw.
Notifications via _IRasDrawEvents.
Definition at line 4115 of file encxcom.idl.
|
inherited |
Draw the Rect() portion of the chart to the specified device context.
When drawing away from the origin, it is also necessary to adjust the device context using SetWindowOrg().
|
inherited |
Obtain the GeoPix at a specified pixel position.
If there is no panel at ipPixelPt, then null / Nothing will be returned.
|
inherited |
The area of the chart to be drawn. Pixel position (0,0) is always at the top left corner of the chart.
When drawing away from the origin, it is also necessary to adjust the device context using SetWindowOrg().
|
inherited |
Obtain the HorizontalDatum at a specified pixel position.
If there is no panel at ipPixelPt, then null / Nothing will be returned.
|
inherited |
Set the view rectangle to display the geographical position specified on the panel specified. Returns true if it succeeded.
Could fail if the position is not on the panel or the panel is not on the current raster chart
|
inherited |
Use a specific chart.
|
inherited |
Obtain the identity of the panel at a specified pixel position.
If there is no panel at ipPixelPt, then null / Nothing will be returned.
|
inherited |
Obtain the GeoPix for the specified panel.
The chart containing the panel must be loaded first with OpenChart or OpenAtPositionOnPanel.
|
inherited |
Obtain a collection of notes associated with the specified panel.
|
inherited |
The area of the chart to be drawn. Pixel position (0,0) is always at the top left corner of the chart.
When drawing away from the origin, it is also necessary to adjust the device context using SetWindowOrg().
|
getinherited |
The chart's number. Not necessarily numeric. E.g. "109", "2182C", "AUS1234".
|
getinherited |
Return the size of the whole chart in pixels, allowing for it being either full-size or overview.
|
getsetinherited |
When true, the chart will be drawn at a much reduced size (typically 1/6th of normal size).
The purpose of drawing a chart as an overview is to allow the whole chart to be seen on a screen (which is very small compared with a chart table).
|
getsetinherited |
The colour scheme for the chart. Use to draw the chart with lower luminance for twilight and night viewing.
|
getsetinherited |
Draw the chart using the available updates. On by default.
Change to false to draw the chart as it was when this edition of the chart was first issued.
|
getinherited |
True iff there are currently corrections on the chart.
Use IndicateUpdates() to highlight them with a red box round each updated square.
Use DisplayUpdates() to show the updated content.
|
getsetinherited |
Highlight the updated areas on the chart. Off by default.
Change to true to draw a red box round each updated square.
|
getsetinherited |
Magnification of raster image - 100% is normal. Range is from 25% to 4000% in 25% intervals.
Change magnification of raster image - 100% is normal. Range is from 25% to 4000% in 25% intervals.
If the percent value is not a multiple of 25 it is rounded up to the next multiple of 25.
|
getinherited |
This message should be displayed on top of the chart at all times.
|
getinherited |
Returns the nominal size of a pixel.
The approximate distance on the ground can be obtained from PixelSizeMetres * IGeoPix::DisplayScale().
|
getinherited |
This message should be brought to the operator's attention when the chart is opened.
|
getinherited |
Obtain a snapshot of all the geopixes that are inside Rect(). If you call this property twice you will get a different collection though it will behave identically provided Rect has not changed. In .NET ReferenceEquals(draw.VisibleGeoPix, draw.VisibleGeoPix) will be false.
|
getinherited |
This message should be brought to the operator's attention when the chart is opened.