home *** CD-ROM | disk | FTP | other *** search
/ ActiveX Programming Unleashed CD / AXU.iso / componen / olectra / demo / chart / 3dconst.h < prev    next >
Encoding:
Text File  |  1996-09-11  |  12.5 KB  |  447 lines

  1. /***************************/
  2. /***** Error Constants *****/
  3. /***************************/
  4. /* Documentation: Specifies the error detected by the chart. */
  5.  
  6. /* Documentation: Invalid index found in variant */
  7. const int ocErrorInvalidIndex = 0;
  8.  
  9. /* Documentation: Property is read-only and cannot be modified */
  10. const int ocErrorReadOnly = 1;
  11.  
  12. /* Documentation: Numeric value is out of range */
  13. const int ocErrorOutOfRange = 2;
  14.  
  15. /* Documentation: Invalid enumerated value for property */
  16. const int ocErrorInvalidEnum = 3;
  17.  
  18. /* Documentation: Invalid value for property */
  19. const int ocErrorInvalidValue = 4;
  20.  
  21. /* Documentation: Property does not exist for this instance of the object */
  22. const int ocErrorNoSuchProperty = 5;
  23.  
  24. /* Documentation: Collection already contains a duplicate value */
  25. const int ocErrorDuplicateValue = 6;
  26.  
  27. /* Documentation: Cannot find item in collection */
  28. const int ocErrorNoSuchItem = 7;
  29.  
  30. /* Documentation: Cannot create object */
  31. const int ocErrorCannotCreateObject = 8;
  32.  
  33. /* Documentation: Property set to wrong object type */
  34. const int ocErrorTypeMismatch = 9;
  35.  
  36. /****************************/
  37. /***** Adjust Constants *****/
  38. /****************************/
  39. /* Documentation: Specifies the alignment of multiple lines
  40.    of text in a header or footer. */
  41.  
  42. /* Documentation: Aligned to left edge. */
  43. const int oc3dAdjustLeft = 1;
  44.  
  45. /* Documentation: Aligned to right edge. */
  46. const int oc3dAdjustRight = 2;
  47.  
  48. /* Documentation: Centered. */
  49. const int oc3dAdjustCenter = 3;
  50.  
  51. /*********************************/
  52. /***** Orientation Constants *****/
  53. /*********************************/
  54. /* Documentation: Specifies the orientation. */
  55.  
  56. /* Documentation: Vertical orientation. */
  57. const int oc3dOrientVertical = 1;
  58.  
  59. /* Documentation: Horizontal orientation. */
  60. const int oc3dOrientHorizontal = 2;
  61.  
  62. /****************************/
  63. /***** Anchor Constants *****/
  64. /****************************/
  65. /* Documentation: Specifies the position of the object
  66.    relative to the anchor position. */
  67.  
  68. /* Documentation: Above anchor position. */
  69. const int oc3dAnchorNorth = 16;
  70.  
  71. /* Documentation: Below anchor position. */
  72. const int oc3dAnchorSouth = 32;
  73.  
  74. /* Documentation: To right of anchor position. */
  75. const int oc3dAnchorEast = 1;
  76.  
  77. /* Documentation: To left of anchor position. */
  78. const int oc3dAnchorWest = 2;
  79.  
  80. /* Documentation: Above and to right of anchor position. */
  81. const int oc3dAnchorNorthEast = 17;
  82.  
  83. /* Documentation: Above and to left of anchor position. */
  84. const int oc3dAnchorNorthWest = 18;
  85.  
  86. /* Documentation: Below and to right of position. */
  87. const int oc3dAnchorSouthEast = 33;
  88.  
  89. /* Documentation: Below and to left of position. */
  90. const int oc3dAnchorSouthWest = 34;
  91.  
  92. /***************************************/
  93. /***** Annotation Method Constants *****/
  94. /***************************************/
  95. /* Documentation: Specifies the annotation method. */
  96.  
  97. /* Documentation: Annotate using chart's data values. */
  98. const int oc3dAnnotateValues = 1;
  99.  
  100. /* Documentation: Annotate using data labels. */
  101. const int oc3dAnnotateDataLabels = 2;
  102.  
  103. /* Documentation: Annotate using ValueLabels property. */
  104. const int oc3dAnnotateValueLabels = 3;
  105.  
  106. /***********************************/
  107. /***** Attach Method Constants *****/
  108. /***********************************/
  109. /* Documentation: Specifies how a chart label is attached to a chart. */
  110.  
  111. /* Documentation: Attach to a grid index. */
  112. const int oc3dAttachDataIndex = 0;
  113.  
  114. /* Documentation: Attach to pixel coordinates on the chart. */
  115. const int oc3dAttachCoord = 1;
  116.  
  117. /* Documentation: Attach to a point in 3D space. */
  118. const int oc3dAttachDataCoord = 2;
  119.  
  120. /*****************************/
  121. /***** Axis ID Constants *****/
  122. /*****************************/
  123. /* Documentation: Specifies a chart axis. */
  124.  
  125. /* Documentation: X-axis. */
  126. const int oc3dAxisX = 0;
  127.  
  128. /* Documentation: Y-axis. */
  129. const int oc3dAxisY = 1;
  130.  
  131. /* Documentation: Z-axis. */
  132. const int oc3dAxisZ = 2;
  133.  
  134. /********************************/
  135. /***** Bar Format Constants *****/
  136. /********************************/
  137. /* Documentation: The format in which bars are displayed. */
  138.  
  139. /* Documentation: Fixed format. */
  140. const int oc3dBarFixed = 0;
  141.  
  142. /* Documentation: Histogram format. */
  143. const int oc3dBarHistogram = 1;
  144.  
  145. /*********************************/
  146. /***** Border Type Constants *****/
  147. /*********************************/
  148. /* Documentation: Valid border styles. */
  149.  
  150. /* Documentation: Border None. */
  151. const int oc3dBorderNone = 0;
  152.  
  153. /* Documentation: Border 3D Out. */
  154. const int oc3dBorder3DOut = 1;
  155.  
  156. /* Documentation: Border 3D In. */
  157. const int oc3dBorder3DIn = 2;
  158.  
  159. /* Documentation: Border Shadow. */
  160. const int oc3dBorderShadow = 3;
  161.  
  162. /* Documentation: Border Plain. */
  163. const int oc3dBorderPlain = 4;
  164.  
  165. /* Documentation: Border Etched In. */
  166. const int oc3dBorderEtchedIn = 5;
  167.  
  168. /* Documentation: Border Etched Out. */
  169. const int oc3dBorderEtchedOut = 6;
  170.  
  171. /*********************************/
  172. /***** Data Layout Constants *****/
  173. /*********************************/
  174. /* Documentation: Specifies the type of data to be charted. */
  175.  
  176. /* Documentation: Regular grid data. */
  177. const int oc3dDataGrid = 1;
  178.  
  179. /* Documentation: Irregular grid data. */
  180. const int oc3dDataIrregularGrid = 2;
  181.  
  182. /***********************************/
  183. /***** Interpolation Constants *****/
  184. /***********************************/
  185. /* Documentation: Specifies the spline interpolation method to use. */
  186.  
  187. /* Documentation: Linear spline interpolation. */
  188. const int oc3dInterpolateLinearSpline = 1;
  189.  
  190. /* Documentation: Cubic spline interpolation. */
  191. const int oc3dInterpolateCubicSpline = 2;
  192.  
  193. /*********************************/
  194. /***** Legend Type Constants *****/
  195. /*********************************/
  196. /* Documentation: Determines the legend style. */
  197.  
  198. /* Documentation: Range printed for each zone. */
  199. const int oc3dLegendTypeStepped = 1;
  200.  
  201. /* Documentation: Level printed at the division between two adjacent zones. */
  202. const int oc3dLegendTypeContinuous = 2;
  203.  
  204. /**********************************/
  205. /***** Line Pattern Constants *****/
  206. /**********************************/
  207. /* Documentation: Valid line patterns. */
  208.  
  209. /* Documentation: No Pattern */
  210. const int oc3dLineNone = 1;
  211.  
  212. /* Documentation: Solid */
  213. const int oc3dLineSolid = 2;
  214.  
  215. /* Documentation: Long Dash */
  216. const int oc3dLineLongDash = 3;
  217.  
  218. /* Documentation: Dotted */
  219. const int oc3dLineDotted = 4;
  220.  
  221. /* Documentation: Short Dash */
  222. const int oc3dLineShortDash = 5;
  223.  
  224. /* Documentation: Long Short Long Dash */
  225. const int oc3dLineLongShortLongDash = 6;
  226.  
  227. /* Documentation: Dash Dot */
  228. const int oc3dLineDashDot = 7;
  229.  
  230. /***************************/
  231. /***** Plane Constants *****/
  232. /***************************/
  233. /* Documentation: Specifies a plane of the chart. */
  234.  
  235. /* Documentation: The XY-Plane */
  236. const int oc3dXYPlane = 1;
  237.  
  238. /* Documentation: The XZ-Plane */
  239. const int oc3dXZPlane = 2;
  240.  
  241. /* Documentation: The YZ-Plane */
  242. const int oc3dYZPlane = 4;
  243.  
  244. /****************************/
  245. /***** Region Constants *****/
  246. /****************************/
  247. /* Documentation: Specifies a region of a chart. */
  248.  
  249. /* Documentation: Located in chart area. */
  250. const int oc3dRegionInChartArea = -100;
  251.  
  252. /* Documentation: Located in legend. */
  253. const int oc3dRegionInLegend = -99;
  254.  
  255. /* Documentation: Located in header. */
  256. const int oc3dRegionInHeader = -98;
  257.  
  258. /* Documentation: Located in footer. */
  259. const int oc3dRegionInFooter = -97;
  260.  
  261. /* Documentation: No particular region. */
  262. const int oc3dRegionNone = -96;
  263.  
  264. /*********************************/
  265. /***** Stroke Font Constants *****/
  266. /*********************************/
  267. /* Documentation: Specifies a stroke font. */
  268.  
  269. /* Documentation: Cyrillic Complex */
  270. const int oc3dCyrillicComplex = 0;
  271.  
  272. /* Documentation: Gothic English */
  273. const int oc3dGothicEnglish = 1;
  274.  
  275. /* Documentation: Gothic German */
  276. const int oc3dGothicGerman = 2;
  277.  
  278. /* Documentation: Gothic Italian */
  279. const int oc3dGothicItalian = 3;
  280.  
  281. /* Documentation: Greek Complex */
  282. const int oc3dGreekComplex = 4;
  283.  
  284. /* Documentation: Greek Complex Small */
  285. const int oc3dGreekComplexSmall = 5;
  286.  
  287. /* Documentation: Greek Simplex */
  288. const int oc3dGreekSimplex = 6;
  289.  
  290. /* Documentation: Italic Complex */
  291. const int oc3dItalicComplex = 7;
  292.  
  293. /* Documentation: Italic Complex Small */
  294. const int oc3dItalicComplexSmall = 8;
  295.  
  296. /* Documentation: Italic Triplex */
  297. const int oc3dItalicTriplex = 9;
  298.  
  299. /* Documentation: Roman Complex */
  300. const int oc3dRomanComplex = 10;
  301.  
  302. /* Documentation: Roman Complex Small */
  303. const int oc3dRomanComplexSmall = 11;
  304.  
  305. /* Documentation: Roman Duplex */
  306. const int oc3dRomanDuplex = 12;
  307.  
  308. /* Documentation: Roman Simplex */
  309. const int oc3dRomanSimplex = 13;
  310.  
  311. /* Documentation: Roman Triplex */
  312. const int oc3dRomanTriplex = 14;
  313.  
  314. /* Documentation: Script Complex */
  315. const int oc3dScriptComplex = 15;
  316.  
  317. /* Documentation: Script Simplex */
  318. const int oc3dScriptSimplex = 16;
  319.  
  320. /********************************/
  321. /***** Chart Type Constants *****/
  322. /********************************/
  323. /* Documentation: Specifies the chart display type. */
  324.  
  325. /* Documentation: Surface chart. */
  326. const int oc3dTypeSurface = 0;
  327.  
  328. /* Documentation: Bar chart. */
  329. const int oc3dTypeBar = 1;
  330.  
  331. /*********************************/
  332. /***** Zone Method Constants *****/
  333. /*********************************/
  334. /* Documentation: Specifies the method used to fill each zone region. */
  335.  
  336. /* Documentation: Contour zoning. */
  337. const int oc3dZoneContours = 0;
  338.  
  339. /* Documentation: Cell zoning. */
  340. const int oc3dZoneCells = 1;
  341.  
  342. /************************************/
  343. /***** Preview Method Constants *****/
  344. /************************************/
  345. /* Documentation: Specifies how interactive rotations are to be
  346.    presented to the user. */
  347.  
  348. /* Documentation: Draw outline of plot cube. */
  349. const int oc3dPreviewCube = 0;
  350.  
  351. /* Documentation: Draw entire chart. */
  352. const int oc3dPreviewFull = 100;
  353.  
  354. /****************************/
  355. /***** Action Constants *****/
  356. /****************************/
  357. /* Documentation: Specifies a user action. */
  358.  
  359. /* Documentation: No action. */
  360. const int oc3dActionNone = 0;
  361.  
  362. /* Documentation: Start any user interaction. */
  363. const int oc3dActionModifyStart = 1;
  364.  
  365. /* Documentation: Notify application that user interaction has ended. */
  366. const int oc3dActionModifyEnd = 2;
  367.  
  368. /* Documentation: Cancel a user interaction. */
  369. const int oc3dActionModifyCancel = 3;
  370.  
  371. /* Documentation: Rotate the chart. */
  372. const int oc3dActionRotate = 4;
  373.  
  374. /* Documentation: Scale the chart. */
  375. const int oc3dActionScale = 5;
  376.  
  377. /* Documentation: Translate the chart. */
  378. const int oc3dActionTranslate = 6;
  379.  
  380. /* Documentation: Start zoom. */
  381. const int oc3dActionZoomStart = 7;
  382.  
  383. /* Documentation: Update the zoom rubberband. */
  384. const int oc3dActionZoomUpdate = 8;
  385.  
  386. /* Documentation: End a zoom. */
  387. const int oc3dActionZoomEnd = 9;
  388.  
  389. /* Documentation: Cancel a zoom in progress. */
  390. const int oc3dActionZoomCancel = 10;
  391.  
  392. /* Documentation: Undo all scaling and translations. */
  393. const int oc3dActionReset = 11;
  394.  
  395. /* Documentation: Display property page. */
  396. const int oc3dActionProperties = 12;
  397.  
  398. /* Documentation: Rotate about X-axis. */
  399. const int oc3dActionRotateXAxis = 100;
  400.  
  401. /* Documentation: Rotate about Y-axis. */
  402. const int oc3dActionRotateYAxis = 101;
  403.  
  404. /* Documentation: Rotate about Z-axis. */
  405. const int oc3dActionRotateZAxis = 102;
  406.  
  407. /* Documentation: Rotate about the eyepoint. */
  408. const int oc3dActionRotateEye = 103;
  409.  
  410. /* Documentation: Unconstrained Rotation. */
  411. const int oc3dActionRotateFree = 104;
  412.  
  413. /****************************/
  414. /***** Format Constants *****/
  415. /****************************/
  416. /* Documentation: Specifies the format to use when printing. */
  417.  
  418. /* Documentation: Bitmap. */
  419. const int oc3dFormatBitmap = 1;
  420.  
  421. /* Documentation: Metafile. */
  422. const int oc3dFormatMetafile = 2;
  423.  
  424. /* Documentation: Enhanced Metafile. */
  425. const int oc3dFormatEnhMetafile = 3;
  426.  
  427. /***************************/
  428. /***** Scale Constants *****/
  429. /***************************/
  430. /* Documentation: Specifies the scaling to use when printing. */
  431.  
  432. /* Documentation: Same size as actual chart. */
  433. const int oc3dScaleNone = 1;
  434.  
  435. /* Documentation: Scale to specified width, preserving aspect ratio. */
  436. const int oc3dScaleToWidth = 2;
  437.  
  438. /* Documentation: Scale to specified height, preserving aspect ratio. */
  439. const int oc3dScaleToHeight = 3;
  440.  
  441. /* Documentation: Scale to existing window (minimum of height and width),
  442.    preserving aspect ratio. */
  443. const int oc3dScaleToFit = 4;
  444.  
  445. /* Documentation: Enlarge to size of page. */
  446. const int oc3dScaleToMax = 5;
  447.