DgnPlatform.r.h
Go to the documentation of this file.
1 /*--------------------------------------------------------------------------------------+
2 |
3 | Supplied under applicable software license agreement.
4 |
5 | Copyright (c) 2018 Bentley Systems, Incorporated. All rights reserved.
6 |
7 +---------------------------------------------------------------------------------------*/
8 #pragma once
9 
10 #include <Bentley/ValueFormat.r.h>
11 #include "DgnPlatformBaseType.r.h"
12 
13 //--------------------------------------------------------------------
14 // This file is included by both .cpp/h and .r files
15 //--------------------------------------------------------------------
16 
17 // The following constants are in the Bentley namespace because they are referenced by MicroStation.r.h.
18 // That file cannot use a namespace qualifier such as "DgnPlatform::", because the resource compiler doesn't
19 // support that. We could use ifdef's if we don't want to put these symbols into Bentley. In any case,
20 // These symbols all begin with "DGNPLATFORM_" so they shouldn't conflict with other symbols in the Bentley ns.
22 
23 enum
24  {
49  DGNPLATFORM_RESOURCE_TASK_ID_SIZE = 48, // 48 Wide Chars
52  DGNPLATFORM_RESOURCE_MAX_REFLOGICALNAME = 96, /* max length a ref file logical name can be including end of string NULL */
53  DGNPLATFORM_RESOURCE_MAX_REFDESCRIPTION = 256, /* max length a ref file description can be including end of string NULL */
61  DGNPLATFORM_RESOURCE_MAX_REFFULLPATH = 384, /* max length a ref file can be attached with full path including end of string NULL */
66  };
67 
68 /*----------------------------------------------------------------------+
69 | MicroStation Default File Info Resource Ids |
70 +----------------------------------------------------------------------*/
71 enum
72  {
73  DEFFILE_INFO_SIGNATURE = 0xff, /* Resource Signature byte. */
74  DEFFILE_FORMAT_VERSION = 8, /* Current version of DefaultFileInfo */
75  DEFFILE_MAX_SAVED = 10, /* Number of most recently used files to save */
313 
314 
315  DEFLASTFILETYPE_ID = (DEFDIALOGCENSUSXML_ID), // change this if you're adding new DEFFILE_IDs
316 
323  };
324 
325 struct SPoint2d
326  {
329  };
330 
332  {
337  };
338 
340  {
344  };
345 
347 
349 
350 #if defined (resource)
351  // These often appear in .r files
352 enum
353  {
354  FALSE = 0,
355  TRUE = 1,
356  };
357 #endif
358 
360  {
361  None = 0,
362  Copy = 1,
363  Display = 2,
364  };
365 
367 enum class DgnModelType
368  {
369  Normal = 0,
370  Sheet = 1,
372  Drawing = 3,
374  };
375 
376 enum class CellLibraryType
377  {
378  Invalid = -1,
379  Graphic = 0,
380  Menu = 1, // legacy, no longer supported.
381  CBMenu = 2, // legacy, no longer supported.
382  MatrixMenu = 4, // legacy, no longer supported.
383  Point = 7,
384  Parametric = 8,
385  Block = 101,
386  };
387 
388 enum class StandardView
389  {
390  NotStandard = -1,
391  Top = 1,
392  Bottom = 2,
393  Left = 3,
394  Right = 4,
395  Front = 5,
396  Back = 6,
397  Iso = 7,
398  RightIso = 8,
399  };
400 
401 enum class MSRenderMode
402  {
403  Invalid = -1,
404  Wireframe = 0,
405  CrossSection = 1,
406  Wiremesh = 2,
407  HiddenLine = 3,
408  SolidFill = 4,
409  ConstantShade = 5,
410  SmoothShade = 6,
411  Phong = 7,
412  RayTrace = 8,
413  RenderWireframe = 9,
414  Radiosity = 10,
415  ParticleTrace = 11,
416  RenderLuxology = 12,
417  };
418 #if defined (__cplusplus)
419 inline bool operator== (MSRenderMode lhs, UInt32 rhs) {return static_cast<UInt32>(lhs) == rhs;}
420 inline bool operator!= (MSRenderMode lhs, UInt32 rhs) {return static_cast<UInt32>(lhs) != rhs;}
421 #endif
422 
423 /*=================================================================================**/
427 struct ViewFlags
428  {
429  UInt32 deprecated1:1;
430  UInt32 fast_text:1;
431  UInt32 deprecated2:1;
432  UInt32 line_wghts:1;
433  UInt32 patterns:1;
434  UInt32 text_nodes:1;
435  UInt32 ed_fields:1;
436  UInt32 on_off:1;
437  UInt32 deprecated3:1;
438  UInt32 grid:1;
439  UInt32 lev_symb:1;
440  UInt32 deprecated4:1;
441  UInt32 constructs:1;
442  UInt32 dimens:1;
443  UInt32 fast_cell:1;
444  UInt32 def:1;
445  UInt32 fill:1;
446  UInt32 deprecated5:1;
447  UInt32 auxDisplay:1;
448  UInt32 deprecated6:1;
449  UInt32 deprecated7:1;
450  UInt32 hideNamedPresentation:1;
451  UInt32 camera:1;
452  UInt32 renderMode:6;
453  UInt32 background:1;
454  UInt32 refBoundaryDisplay:1;
455  UInt32 deprecated8:1;
456  UInt32 deprecated9:1;
457  UInt32 deprecated10:1;
458  UInt32 deprecated11:1;
459  UInt32 deprecated12:1;
460  UInt32 textureMaps:1;
461  UInt32 deprecated13:1;
462  UInt32 transparency:1;
463  UInt32 deprecated14:1;
464  UInt32 inhibitLineStyles:1;
465  UInt32 deprecated15:1;
466  UInt32 patternDynamics:1;
467  UInt32 deprecated16:1;
468  UInt32 tagsOff:1;
469  UInt32 renderDisplayEdges:1;
470  UInt32 renderDisplayHidden:1;
471  UInt32 isNamed_deprecated:1;
472  UInt32 deprecated17:1;
473  UInt32 overrideBackground:1;
474  UInt32 noFrontClip:1;
475  UInt32 noBackClip:1;
476  UInt32 noClipVolume:1;
477  UInt32 useDisplaySet:1;
478  UInt32 associativeClip:1;
479  UInt32 minimized:1;
480  UInt32 maximized:1;
481  UInt32 renderDisplayShadows:1;
482  UInt32 reserved2:1;
483  UInt32 hiddenLineStyle:3;
484  UInt32 inhibitRenderMaterials:1;
485  UInt32 ignoreSceneLights:1;
486  UInt32 reserved3:32;
487 #if defined (__cplusplus)
488  inline void SetRenderMode (MSRenderMode value) {renderMode = static_cast<UInt32>(value);}
489  inline MSRenderMode GetRenderMode() {return static_cast<MSRenderMode>(renderMode);}
490 #endif
491  };
492 
493 
494 enum class GradientMode
495  {
496  None = 0,
497  Linear = 1,
498  Curved = 2,
499  Cylindrical = 3,
500  Spherical = 4,
501  Hemispherical = 5,
502  };
503 
504 enum class AngleFormatVals
505  {
506  None = -2,
507  Active = -1,
508  Degrees = 0,
509  DegMinSec = 1,
510  Centesimal = 2,
511  Radians = 3,
512  DegMin = 4,
513  Surveyor = 5, // DWG mode only
514  };
515 
516 struct DirFormat
517  {
519  UInt16 unused[2];
520  struct
521  {
522  UInt16 clockwise:1;
523  UInt16 unused:15;
524  } flags;
525  double baseDir;
526  };
527 
528 struct Autodim1
529  {
530  struct
531  {
532  UInt16 adres2:8;
533  UInt16 ref_mastersub:2;
534  UInt16 ref_decfract:1;
535  UInt16 accuracyFlags:2; /* 0- use ref_decfract; 1- scientific accuracy; 2- fractional zero */
536  UInt16 reserved:3;
537  } format;
538  };
539 
540 /*=================================================================================**/
543 struct Symbology
544  {
548  };
549 
551  {
553  T_Adouble value;
554  };
555 
556 
557 /*=================================================================================**/
562  {
563  UInt32 includeHidden:1;
564  UInt32 includeRules:1;
565  UInt32 calculateIntersections:1;
566  UInt32 outputToMaster:1;
567  UInt32 threeD:1;
568  UInt32 boundary:3;
569  UInt32 masterHiddenLine:1;
570  UInt32 masterDisplayHidden:1;
571  UInt32 method:3;
572  UInt32 annotations:3;
573  UInt32 smoothEdges:1;
574  UInt32 expandCustomLinestyles:1;
575  UInt32 expandHatch:1;
576  UInt32 autoOpenOutputFile:1;
577  UInt32 facetAllSurfaces:1;
578  UInt32 colorFromMaterial:1;
579  UInt32 ignoreTransparency:1;
580  UInt32 transparencyThreshold:7;
581  UInt32 exactMode:1;
582  UInt32 plotExactMode:1;
583  };
584 
586  {
587  UInt32 m_edgeLineStyles:1;
588  UInt32 m_cveFastMode:1;
589  UInt32 m_retainCacheWhileValidOnly:1;
590  UInt32 m_unused:29;
591  };
592 
593 /*=================================================================================**/
598  {
603  UInt32 levelOverride:1;
604  UInt32 colorOverride:1;
605  UInt32 styleOverride:1;
606  UInt32 weightOverride:1;
607  UInt32 unused:28;
608  };
609 
610 /*=================================================================================**/
617  {
618  UInt16 fontNo :1;
619  UInt16 shxBigFont :1;
620  UInt16 width :1;
621  UInt16 height :1;
622  UInt16 slant :1;
623  UInt16 linespacing :1;
624  UInt16 interCharSpacing :1;
625  UInt16 underlineOffset :1;
626  UInt16 overlineOffset :1;
627  UInt16 just :1;
628  UInt16 nodeJust :1;
629  UInt16 lineLength :1;
630  UInt16 direction :1;
631  UInt16 underline :1;
632  UInt16 overline :1;
633  UInt16 italics :1;
634  UInt16 bold :1;
635  UInt16 superscript :1;
636  UInt16 subscript :1;
637  UInt16 fixedSpacing :1;
638  UInt16 background :1;
639  UInt16 backgroundstyle :1;
640  UInt16 backgroundweight :1;
641  UInt16 backgroundcolor :1;
642  UInt16 backgroundfillcolor :1;
643  UInt16 backgroundborder :1;
644  UInt16 underlinestyle :1;
645  UInt16 underlineweight :1;
646  UInt16 underlinecolor :1;
647  UInt16 overlinestyle :1;
648  UInt16 overlineweight :1;
649  UInt16 overlinecolor :1;
650  UInt16 lineOffset :1;
651  UInt16 fractions :1;
652  UInt16 overlinestyleflag :1;
653  UInt16 underlinestyleflag :1;
654  UInt16 color :1;
655  UInt16 widthFactor :1;
656  UInt16 colorFlag :1;
657  UInt16 fullJustification :1;
658  UInt16 acadLineSpacingType :1;
659  UInt16 backwards :1;
660  UInt16 upsidedown :1;
661  UInt16 acadInterCharSpacing :1;
662  UInt16 reserved :4;
663  UInt16 reserved2 :16;
664 
665 #if defined (__cplusplus)
666  public: DGNPLATFORM_EXPORT void ComputeLogicalOr (TextStyleOverrideFlags& result, TextStyleOverrideFlags const& rhs) const;
669 
672  public: DGNPLATFORM_EXPORT bool AreAnyFlagsSet () const;
673 #endif // defined (__cplusplus)
674 
675  };
676 
677 /*=================================================================================**/
684  {
685  UInt32 underline :1;
686  UInt32 overline :1;
687  UInt32 italics :1;
688  UInt32 bold :1;
689  UInt32 superscript :1;
690  UInt32 subscript :1;
691  UInt32 background :1;
692  UInt32 overlineStyle :1;
693  UInt32 underlineStyle :1;
694  UInt32 fixedSpacing :1;
695  UInt32 fractions :1;
696  UInt32 color :1;
697  UInt32 acadInterCharSpacing :1;
698  UInt32 fullJustification :1;
699  UInt32 acadLineSpacingType :2;
700  UInt32 acadShapeFile :1;
701  UInt32 reserved :15;
702  };
703 
704 /*=================================================================================**/
710 struct TextStyle
711  {
714  double width;
715  double height;
716  double slant;
717  double lineSpacing;
720  double overlineOffset;
721  double widthFactor;
739  double reserved4;
740  };
741 
742 /*=================================================================================**/
746 struct UnitFlags
747  {
749  UInt32 base:3; /* UNIT_BASE_xxx */
751  UInt32 system:3; /* UNIT_SYSTEM_xxx */
753  UInt32 reserved:26;
754  };
755 
756 /*=================================================================================**/
761  {
762  UnitFlags flags; /* Unit flags */
763  double numerator; /* Units per meter fraction numerator */
764  double denominator; /* Units per meter fraction denominator */
766  };
767 
768 enum class SelectionMode
769  {
770  New = 0,
771  Add = 1,
772  Subtract = 2,
773  Inverse = 3,
774  Clear = 4,
775  All = 5,
776  };
777 
778 
780  {
781  Never = 0,
782  ByView = 1,
783  Always = 2,
784  };
785 
786 enum class UnitBase
787  {
788  None = 0,
789  Meter = 1,
790  Degree = 2,
791  };
792 
793 /*=================================================================================**/
798 enum class StandardUnit
799  {
800  /* English */
801  None = 0,
802 
803  EnglishFirst = 1000,
804  EnglishMiles = 1050,
805  EnglishYards = 1075,
806  EnglishFeet = 1100,
807  EnglishInches = 1125,
808  EnglishPicas = 1130,
809  EnglishPoints = 1135,
810  EnglishMils = 1150,
811  EnglishMicroInches = 1175,
812  EnglishLast = 1225,
813 
814  /* US Survey-foot based */
815  EnglishSurveyMiles = 1049,
816  EnglishFurlongs = 1055,
817  EnglishChains = 1060,
818  EnglishRods = 1065,
819  EnglishFathoms = 1070,
820  EnglishSurveyFeet = 1099,
821  EnglishSurveyInches = 1124,
822 
823  /* Metric */
824  MetricFirst = 2000,
825  MetricPetameters = 2010,
826  MetricTerameters = 2020,
827  MetricGigameters = 2030,
828  MetricMegameters = 2040,
829  MetricKilometers = 2050,
830  MetricHectometers = 2060,
831  MetricDekameters = 2070,
832  MetricMeters = 2075,
833  MetricDecimeters = 2090,
834  MetricCentimeters = 2100,
835  MetricMillimeters = 2125,
836  MetricMicrometers = 2150,
837  MetricNanometers = 2160,
838  MetricPicometers = 2180,
839  MetricFemtometers = 2190,
840  MetricLast = 2225,
841 
842  /* No System */
843  NoSystemFirst = 3000,
844  NoSystemParsecs = 3100,
845  NoSystemLightYears = 3200,
847  NoSystemNauticalMiles = 3500,
848  NoSystemAngstroms = 3800,
849  NoSystemLast = 3900,
850 
851  /* No Base */
852  UnitlessWhole = 4000,
853 
854  /* Angle */
855  AngleRadians = 4500,
856  AngleDegrees = 4550,
857  AngleGrads = 4575,
858  AngleMinutes = 4600,
859  AngleSeconds = 4650,
860 
861  Custom = 5000,
862  };
863 
864 //=======================================================================================
872 //=======================================================================================
873 enum class AngleMode
874  {
875  Invalid = 0,
876  Degrees = 1,
877  DegMin = 2,
878  DegMinSec = 3,
879  Centesimal = 4,
880  Radians = 5,
881  };
882 
883 //=======================================================================================
886 //=======================================================================================
887 enum class AnglePrecision
888  {
889  Whole = 0,
890  Use1Place = 1,
891  Use2Places = 2,
892  Use3Places = 3,
893  Use4Places = 4,
894  Use5Places = 5,
895  Use6Places = 6,
896  Use7Places = 7,
897  Use8Places = 8,
898  };
899 
900 enum class DgnUnitFormat
901  {
902  MUSU = 0,
903  MU = 1,
904  MUSUPU = 2,
905  SU = 3,
906  };
907 
908 //=======================================================================================
915 //=======================================================================================
916 enum class DirectionMode
917  {
918  Invalid = 0,
919  Azimuth = 1,
920  Bearing = 2,
921  };
922 
923 enum class DirectionBase
924  {
925  North = 0,
926  South = 1,
927  East = 2,
928  West = 3,
929  Custom = 4,
930  };
932  {
933  Orthogonal = 0,
934  Isometric = 1,
935  Offset = 2,
936  };
937 
938 enum class IsometricPlane
939  {
940  Top = 0,
941  Left = 1,
942  Right = 2,
943  All = 3,
944  };
945 enum class FenceMode
946  {
947  Inside = 0,
948  Overlap = 1,
949  Clip = 2,
950  Void = 3,
951  VoidOverlap = 4,
952  VoidClip = 5,
953  };
954 
955 //=======================================================================================
958 //=======================================================================================
960  {
961  //==================================
963  //==================================
967 
971 
977 
981 
985 
991 
995 
999 
1002 
1009 
1013 
1014 
1020 
1022 
1023  //==================================
1025  //==================================
1028 
1033 
1036 
1037  };
1038 
1039 /*---------------------------------------------------------------------------------**/
1044  {
1045  Invalid = -1,
1046  Current = 0,
1047 
1048  V7 = 1,
1049  V8 = 2,
1050  DWG = 3,
1051  DXF = 4,
1052  };
1053 
1054 enum class DwgUnitFormat
1055  {
1056  Scientific = 1,
1057  Decimal = 2,
1058  Engineering = 3,
1059  Architectural = 4,
1060  Fractional = 5,
1061  };
1062 
1064 {
1067 };
1068 
1069 enum class DimensionType
1070  {
1071  None = 0,
1072  SizeArrow = 1,
1073  SizeStroke = 2,
1074  LocateSingle = 3,
1075  LocateStacked = 4,
1076  AngleSize = 5,
1077  ArcSize = 6,
1078  AngleLocation = 7,
1079  ArcLocation = 8,
1080  AngleLines = 9,
1081  AngleAxis = 10,
1082  Radius = 11,
1083  Diameter = 12,
1084  DiameterParallel = 13,
1085  DiameterPerpendicular = 14,
1086  CustomLinear = 15,
1087  Ordinate = 16,
1088  RadiusExtended = 17,
1089  DiameterExtended = 18,
1090  Center = 19,
1091 
1092  AngleAxisX = 50,
1093  AngleAxisY = 51,
1094  LabelLine = 52,
1095  Note = 53,
1096 
1097  MaxThatHasTemplate = 19,
1098  Max = 53, // Update if more DimensionTypes are added.
1099  };
1100 
1101 //=======================================================================================
1108 // @bsiclass Bentley Systems
1109 //=======================================================================================
1111  {
1112  LeftTop = 0,
1113  LeftMiddle = 1,
1114  LeftBaseline = 2,
1115  LeftDescender = 16,
1116  CenterTop = 6,
1117  CenterMiddle = 7,
1118  CenterBaseline = 8,
1119  CenterDescender = 20,
1120  RightTop = 12,
1121  RightMiddle = 13,
1122  RightBaseline = 14,
1123  RightDescender = 24,
1124 
1125  LeftMarginTop = 3,
1126  LeftMarginMiddle = 4,
1127  LeftMarginBaseline = 5,
1128  LeftMarginDescender = 18,
1129  RightMarginTop = 9,
1130  RightMarginMiddle = 10,
1131  RightMarginBaseline = 11,
1132  RightMarginDescender = 22,
1133 
1134  LeftCap = 15,
1135  LeftMarginCap = 17,
1136  CenterCap = 19,
1137  RightCap = 23,
1138  RightMarginCap = 21,
1139 
1140  Invalid = 127
1141  }; // TextElementJustification
1142 
1143 /*---------------------------------------------------------------------------------**/
1150  {
1152  Unknown = -1,
1154  ByWork = 0,
1156  ByCenter = 1,
1158  ByMax = 2,
1160  ByMin = 3,
1162  Custom = 4
1163  };
1164 
1165 /*---------------------------------------------------------------------------------**/
1171  {
1180  };
1181 
1183  {
1202  LINESTYLE_PROP_Stroke_Type_BOOLINT = 253, // strokeMode & 0x1
1203  LINESTYLE_PROP_Stroke_Corner_BOOLINT = 254, // strokeMode & 0x2
1204  LINESTYLE_PROP_Stroke_Fixed_BOOLINT = 255, // strokeMode & 0x4
1206  LINESTYLE_PROP_Stroke_EndInvert_BOOLINT = 257, // strokeMode & 0x10
1233  };
1234 
1236  {
1243  };
1244 
1245 /* Values for "options" member */
1247  {
1248  LCOPT_NONE = 0x00000000,
1249  LCOPT_AUTOPHASE = 0x00000001,
1250  LCOPT_RES1 = 0x00000002,
1251  LCOPT_RES2 = 0x00000004,
1252  LCOPT_ITERATION = 0x00000008, /* Uses iteration limit */
1253  LCOPT_SEGMENT = 0x00000010, /* Single segment mode */
1254  LCOPT_CENTERSTRETCH = 0x00000020, /* Center the line style and stretch the ends - ACAD style */
1255  };
1256 /* Values for strokeMode */
1258  {
1262  LCSTROKE_SCALE = 0x04, /* Stroke can be scaled */
1263  LCSTROKE_SDASH = 0x05, /* Short for dash and scale */
1264  LCSTROKE_SGAP = 0x04, /* Short for gap and scale */
1265  LCSTROKE_SINVERT = 0x08, /* Invert stroke in first code */
1266  LCSTROKE_EINVERT = 0x10, /* Invert stroke in last code */
1267  };
1268 
1269 /* Values for widthMode */
1270  // WIP_LINESTYLE *** Overlaps LsStroke::WidthMode??
1272  {
1279  };
1280 
1281 /*-----------------------------------------------------------------------
1282 0 - Standard closed polygon (rectangle) strokes.
1283 1 - No end cap. The stroke is displayed as two parallel lines.
1284 2 - The end of the stroke is extended by half the stroke width.
1285 3...
1286  If cap mode is >= 3, the cap is stroked as an arc and the value of
1287  capMode indicates the number of vectors in the arc.
1288 -----------------------------------------------------------------------*/
1290  {
1298  };
1299 
1300 /* Values for "mod1" */
1302  {
1303  LCPOINT_NONE = 0x0000, // No point symbol
1304  LCPOINT_ORIGIN = 0x0001, // Symbol at origin of stroke
1305  LCPOINT_END = 0x0002, // Symbol at end of stroke
1306  LCPOINT_CENTER = 0x0003, // Symbol at center of stroke
1307  LCPOINT_ONSTROKE = 0x0003, // test mask
1308  LCPOINT_LINEORG = 0x0004, // Symbol at origin of element
1309  LCPOINT_LINEEND = 0x0008, // Symbol at end of element
1310  LCPOINT_LINEVERT = 0x0010, // Symbol at each vertex
1311  LCPOINT_ADJROT = 0x0020, // Adjust rotation left->right
1312  LCPOINT_ABSROT = 0x0040, // Angles not relative to line
1313  LCPOINT_NOSCALE = 0x0100, // No scale on variable strokes
1314  LCPOINT_NOCLIP = 0x0200, // No clip on partial strokes
1315  LCPOINT_NOPARTIAL = 0x0400, // No partial strokes
1316  LCPOINT_PROJECT = 0x0800, // Project partial origin
1317  LCPOINT_COLOR = 0x4000, // Use color from symbol
1318  LCPOINT_WEIGHT = 0x8000, // Use weight from symbol
1319  };
1320 
1321 enum class SnapMode
1322  {
1323  Invalid = -1,
1324  First = 0,
1325  None = 0,
1326  Nearest = 1,
1327  NearestKeypoint = 1 << 1,
1328  MidPoint = 1 << 2,
1329  Center = 1 << 3,
1330  Origin = 1 << 4,
1331  Bisector = 1 << 5,
1332  Intersection = 1 << 6,
1333  Tangency = 1 << 7,
1334  TangentPoint = 1 << 8,
1335  Perpendicular = 1 << 9,
1336  PerpendicularPoint = 1 << 10,
1337  Parallel = 1 << 11,
1338  Multi3 = 1 << 12,
1339  PointOn = 1 << 13,
1340  Multi1 = 1 << 14,
1341  Multi2 = 1 << 15,
1342  MultiSnaps = (Multi1 | Multi2 | Multi3),
1343  };
1344 
1345 #if defined (__cplusplus)
1347 #endif
1348 
1349 #define LAST_SNAP_MODE 16
1350 
1352  {
1353  Primary = 0,
1354  PatternComponent = 1,
1355  Construction = 2,
1356  Dimension = 3,
1357  PrimaryRule = 4,
1358  LinearPatterned = 5,
1359  ConstructionRule = 6,
1360  };
1361 
1362 enum class Visualization
1363  {
1370 
1376 
1382  Custom,
1383 
1388 
1392 
1397 
1402 
1406 
1420 
1423 
1429 
1435 
1439 
1442 
1448 
1451 
1454 
1457 
1468 
1472 
1475 
1481 
1485 
1488 
1493 
1498 
1499  Glow_None,
1500  Glow_DimNeon,
1504 
1507 
1508  IRNone,
1511  IRBoth,
1512  Refract_Air,
1513  Refract_Ice,
1514  Refract_Water,
1519  Refract_Salt,
1522  Refract_Amber,
1525  Refract_Topaz,
1527  Refract_Ruby,
1534 
1541 
1544 
1547 
1550 
1553 
1557 
1561 
1565 
1569 
1575 
1579 
1584 
1614 
1620  };
1621 
1622 
1624  {
1628  };
1629 
1631  {
1633  REF_FILE_LEVEL_DISPLAY_ALL_ON = 1, // Set the display of all levels of the reference attachment to "on"
1634  REF_FILE_LEVEL_DISPLAY_ALL_OFF = 2, // Set the display of all levels of the reference attachment to "off"
1635  };
1636 
1638  {
1642  };
1643 
1645  {
1649  };
1650 
1652  {
1656  };
1657 
1659  {
1664  };
1665 
1667  {
1674  };
1675 
1677  {
1691  ARC_ELM = 16,
1692  TEXT_ELM = 17,
1697  CONE_ELM = 23,
1722  VIEW_ELM = 98,
1726  };
1727 
1728 #if !defined (mdl_resource_compiler) && !defined (mdl_type_resource_generator)
1729  struct DgnFont;
1730 #endif
1731 
1732 // WARNING: In-memory use only! This structure is used by dialogs to access in-memory data. It is also used by DgnStore element handler
1733 // to de-serialize tag data. It never used to map stored data directly.
1734 
1735 #if !defined (mdl_resource_compiler) && !defined (mdl_type_resource_generator)
1736  typedef wchar_t TagWChar;
1737 #else
1738  typedef unsigned short TagWChar; // the dialog that access this structure run only under Windows, where wchar_t == short
1739 #endif
1740 
1741 /* tag data manager types - type 0 is unused, types 1-31 are reserved for use by MicroStation */
1743  {
1745  MS_TAGTYPE_SINT = 2, /* 16 bit integer */
1746  MS_TAGTYPE_LINT = 3, /* 32 bit integer */
1749  MS_TAGTYPE_WCHAR = 6, /* Create type only; converted to MS_TAGTYPE_CHAR */
1750  };
1751 
1754  {
1755 #if !defined (mdl_resource_compiler) && !defined (mdl_type_resource_generator)
1756  private:
1757 #endif
1758  UInt16 m_type;
1759  UInt16 m_size; /* bytes - used for userVal and binary */
1760  union
1761  {
1762  double doubleVal;
1763  long longVal;
1764  short shortVal;
1765  char *stringVal;// CHAR_OK - Persistence
1766  void *binaryVal;
1767  void *userVal;
1769  } m_val;
1770 #if !defined (mdl_resource_compiler) && !defined (mdl_type_resource_generator)
1771  public:
1773  DGNPLATFORM_EXPORT void ClearCurrentValue();
1776 
1778  DgnTagValue (CharCP val);
1779 
1785  DGNPLATFORM_EXPORT DgnTagValue (double value);
1787  DGNPLATFORM_EXPORT DgnTagValue (long value);
1789  DGNPLATFORM_EXPORT DgnTagValue (short value);
1790 
1792  DGNPLATFORM_EXPORT void SetTagValue(CharCP val);
1794  DGNPLATFORM_EXPORT void SetTagValue(WCharCP val);
1796  DGNPLATFORM_EXPORT void SetTagValue(void const* val, UInt16 size);
1797 
1799  void SetTagValue(double val) {*this = DgnTagValue(val);}
1801  void SetTagValue(long val) {*this = DgnTagValue(val);}
1803  void SetTagValue(short val) {*this = DgnTagValue(val);}
1804 
1807  DGNPLATFORM_EXPORT void SetTagType(TagType type);
1810  DGNPLATFORM_EXPORT void SetTagSize (UInt16 size);
1811 
1813  DGNPLATFORM_EXPORT CharCP GetCharValue() const;
1815  DGNPLATFORM_EXPORT double GetDoubleValue () const;
1817  DGNPLATFORM_EXPORT long GetLongValue () const;
1819  DGNPLATFORM_EXPORT short GetShortValue () const;
1820  DGNPLATFORM_EXPORT BentleyStatus GetBinaryValue (void*& val, size_t& size) const;
1822  DGNPLATFORM_EXPORT WString GetStringValue (LangCodePage const* codePage) const;
1824  TagType GetTagType() const {return static_cast<TagType>(m_type);}
1826  DGNPLATFORM_EXPORT UInt16 GetTagSize() const;
1827 
1829  DGNPLATFORM_EXPORT BentleyStatus UnpackValue (byte** memoryBuffer);
1831  DGNPLATFORM_EXPORT BentleyStatus PackValue (byte** memoryBuffer) const;
1839  DGNPLATFORM_EXPORT bool IsValid () const;
1840 #endif
1841  };
1842 
1843 #if !defined (mdl_resource_compiler)
1844 
1846  {
1853 
1854 #if !defined (mdl_type_resource_generator)
1857 #endif
1858 
1859  };
1860 #endif
1861 
1862 /* masks for tag properties */
1864  {
1865  TAG_PROP_DISPOFF = (0x0001 << 0),
1866  TAG_PROP_DEF = (0x0001 << 1),
1867  TAG_PROP_CONF = (0x0001 << 2),
1868  TAG_PROP_CONST = (0x0001 << 3),
1869  };
1870 
1871 /* used in reporting of tag data */
1873  {
1878  };
1879 
1881  {
1882  Live = 0,
1883  Cached = 1,
1884  Static = 2,
1885  };
1886 
1887 
1889  {
1890  Manual = 0,
1891  Alert = 1,
1892  Automatic = 2,
1893  Disconnected = 3,
1894 
1895  Unspecified = 0xffff,
1896  };
1897 
1898 // Values for display.fb_opts.synchWithNamedView and msDialogState.refAttachInfoP->refSettings.synchWithNamedViewOption.
1900 {
1901  NamedViewClip = 0, // Only sync the clip volume.
1902  NamedViewAllSettings = 1, // Sync all settings.
1903  NamedViewNotsynced = 2, // An intermediate value, meaning to take all of the values when created, but erase any persistent reference to the saved view.
1904  NamedViewCameraAndClip = 3, // Only sync camera position and clip volume.
1905  NamedViewPresentation = 4, // ReferenceSynchOption::NamedViewCameraAndClip + only initialize ref boundary clipping from named view, but allow subsequent modifications
1906 };
1907 
1908 /*----------------------------------------------------------------------+
1909 | Color Modes
1910 +----------------------------------------------------------------------*/
1911 enum class ImageColorMode
1912  {
1913  Unknown = 65535,
1914  Any = 0,
1915  RGB = 1,
1916  Palette16 = 2,
1917  Palette256 = 3,
1918  GreyScale = 4,
1919  Monochrome = 5,
1920  RGBA = 6,
1921  Palette256Alpha = 7,
1922  GreyScale16 = 8,
1923  Palette2 = 9,
1924  };
1925 
1926 
StandardUnit
A unit is represented by a scale factor that describes its size relative to its base.
Definition: DgnPlatform.r.h:798
a drawing model. Intended to hold dimensions and annotations but not graphics. May be be referenced i...
Definition: DgnPlatform.r.h:235
Definition: DgnPlatform.r.h:172
Definition: DgnPlatform.r.h:108
void * binaryVal
Definition: DgnPlatform.r.h:1766
Definition: DgnPlatform.r.h:277
Definition: DgnPlatform.r.h:1306
#define ENUM_IS_FLAGS(ENUMTYPE)
Definition: Bentley.r.h:164
Definition: DgnPlatform.r.h:50
Definition: DgnPlatform.r.h:1252
EX: "08".
Definition: DgnPlatform.r.h:1001
char * stringVal
Definition: DgnPlatform.r.h:1765
Definition: DgnPlatform.r.h:1259
An element was added to the file.
Definition: DgnPlatform.r.h:121
Definition: DgnPlatform.r.h:248
Definition: DgnPlatform.r.h:1705
Definition: DgnPlatform.r.h:1698
Definition: DgnPlatform.r.h:308
GradientMode
Definition: DgnPlatform.r.h:494
Definition: DgnPlatform.r.h:98
Definition: DgnPlatform.r.h:1704
RefPlotType
Definition: DgnPlatform.r.h:1666
Definition: DgnPlatform.r.h:1240
Definition: DgnPlatform.r.h:104
Definition: DgnPlatform.r.h:260
Definition: DgnPlatform.r.h:317
Definition: DgnPlatform.r.h:115
Definition: DgnPlatform.r.h:91
EX: The comma in "Tuesday, July 4".
Definition: DgnPlatform.r.h:1005
Definition: DgnPlatform.r.h:1253
Definition: DgnPlatform.r.h:27
AnglePrecision
Used by AngleFormatter to specify the maximum number of decimals for angle formatting.
Definition: DgnPlatform.r.h:887
uint16_t Utf16Char
Definition: Bentley.r.h:155
Definition: DgnPlatform.r.h:162
Definition: DgnPlatform.r.h:307
DateTimeFormatPart
Used by DateTimeFormatter to specify the sequence in which various elements of the date and time shou...
Definition: DgnPlatform.r.h:959
Using.u 12-hour clock. EX: "8".
Definition: DgnPlatform.r.h:988
Definition: DgnPlatform.r.h:123
void SetTagValue(long val)
long tag value assignment.
Definition: DgnPlatform.r.h:1801
Definition: DgnPlatform.r.h:1310
Definition: DgnPlatform.r.h:164
Definition: DgnPlatform.r.h:252
Definition: DgnPlatform.r.h:95
Definition: DgnPlatform.r.h:107
ResourceTextStyleProperty
Definition: DgnPlatform.r.h:1063
Definition: DgnPlatform.r.h:1185
Definition: DgnPlatform.r.h:310
EX: "-7:00", "+11:00".
Definition: DgnPlatform.r.h:1019
EX: "022".
Definition: DgnPlatform.r.h:983
Definition: DgnPlatform.r.h:178
short shortVal
Definition: DgnPlatform.r.h:1764
Definition: DgnPlatform.r.h:282
TextStyleOverrideFlags overrideFlags
What is overriden from the parent in this style.
Definition: DgnPlatform.r.h:734
Definition: DgnPlatform.r.h:229
Definition: DgnPlatform.r.h:1294
EX: "AM", "PM".
Definition: DgnPlatform.r.h:1012
Definition: DgnPlatform.r.h:221
Definition: DgnPlatform.r.h:176
Definition: DgnPlatform.r.h:223
Definition: DgnPlatform.r.h:137
#define END_BENTLEY_DGNPLATFORM_NAMESPACE
Definition: DgnPlatformBaseType.r.h:69
UInt16 mode
Definition: DgnPlatform.r.h:518
Definition: DgnPlatform.r.h:191
T_Adouble value
Definition: DgnPlatform.r.h:553
Definition: DgnPlatform.r.h:1307
TagExport
Definition: DgnPlatform.r.h:1872
The user-defined line traces the center ((max-min)/2) of the style.
Definition: DgnPlatform.r.h:278
TagWChar * wstringVal
Definition: DgnPlatform.r.h:1768
Using 24-hour clock. EX: "0", "23".
Definition: DgnPlatform.r.h:990
Definition: DgnPlatform.r.h:148
Definition: DgnPlatform.r.h:1265
Definition: DgnPlatform.r.h:272
Definition: DgnPlatform.r.h:1261
Definition: DgnPlatform.r.h:88
Definition: DgnPlatform.r.h:1703
Definition: DgnPlatform.r.h:1303
void SetRenderMode(MSRenderMode value)
Definition: DgnPlatform.r.h:488
LocateSurfacesPref
Definition: DgnPlatform.r.h:779
LineStyleProp
Definition: DgnPlatform.r.h:1182
Definition: DgnPlatform.r.h:244
Definition: DgnPlatform.r.h:259
The default file attribute.
Definition: DgnPlatform.r.h:1313
Definition: DgnPlatform.r.h:1689
UInt16 lineLength
Maximum line length in node ((nodelen in old tcb)
Definition: DgnPlatform.r.h:725
Definition: DgnPlatform.r.h:287
Definition: DgnPlatform.r.h:1655
Definition: DgnPlatform.r.h:181
Definition: DgnPlatform.r.h:239
EX: "5".
Definition: DgnPlatform.r.h:970
a DgnComponent definition model. The corresponding DgnComponentDefinitionHandler utilizeds the defini...
Definition: DgnPlatform.r.h:205
RefAttachNestMode
Definition: DgnPlatform.r.h:359
Definition: DgnPlatform.r.h:1697
Definition: DgnPlatform.r.h:106
Definition: DgnPlatform.r.h:159
Definition: DgnPlatform.r.h:241
Definition: DgnPlatform.r.h:1868
Definition: DgnPlatform.r.h:265
Locate interiors of regions, surfaces, and solids even in wireframe and even with fill display off...
Definition: DgnPlatform.r.h:240
double interCharSpacing
Space between characters (textAboveSpacing in old tcb)
Definition: DgnPlatform.r.h:718
Definition: DgnPlatform.r.h:1295
UInt32 weight
Definition: DgnPlatform.r.h:546
Definition: TextTableHandler.h:216
Master Units / SubUnits / Positional Units.
Definition: DgnPlatform.r.h:160
Definition: DgnPlatform.r.h:1724
Definition: DgnPlatform.r.h:1746
Definition: DgnPlatform.r.h:78
double doubleVal
Definition: DgnPlatform.r.h:1762
RefLevelOverrides
Definition: DgnPlatform.r.h:1637
The break starts at the joint line at the specified segment's origin, and the value of offset is igno...
Definition: DgnPlatform.r.h:1175
Definition: DgnPlatform.r.h:1875
Definition: DgnPlatform.r.h:214
double height
Character height (uors)
Definition: DgnPlatform.r.h:715
The break ends at the joint line at the specified segment's end, and the value of length is ignored...
Definition: DgnPlatform.r.h:1177
Definition: DgnPlatform.r.h:1693
Definition: DgnPlatform.r.h:227
Definition: DgnPlatform.r.h:217
EX: "8".
Definition: DgnPlatform.r.h:976
Definition: DgnPlatform.r.h:1309
Symbology overlineStyle
Overline style.
Definition: DgnPlatform.r.h:731
Definition: DgnPlatform.r.h:1678
UInt32 LevelId
Definition: DgnPlatformBaseType.r.h:85
Definition: DgnPlatform.r.h:216
Definition: DgnPlatform.r.h:180
UInt16 nodeJust
Text node justification.
Definition: DgnPlatform.r.h:724
Using 12-hour clock. EX: "08".
Definition: DgnPlatform.r.h:989
Definition: DgnPlatform.r.h:1687
DirectionBase
Definition: DgnPlatform.r.h:923
Definition: DgnPlatform.r.h:285
Definition: DgnPlatform.r.h:1744
Definition: DgnPlatform.r.h:127
EX: "August".
Definition: DgnPlatform.r.h:974
EX: "00123" (precision 5)
Definition: DgnPlatform.r.h:1004
Definition: DgnPlatform.r.h:222
Definition: DgnPlatform.r.h:1278
Definition: DgnPlatform.r.h:281
UInt16 propsMask
Definition: DgnPlatform.r.h:1850
UInt32 parentId
Parent style id.
Definition: DgnPlatform.r.h:732
FenceMode
Definition: DgnPlatform.r.h:945
Definition: DgnPlatform.r.h:101
Definition: DgnPlatform.r.h:175
Definition: DgnPlatform.r.h:195
Definition: DgnPlatform.r.h:1670
Definition: DgnPlatform.r.h:155
UInt16 textDirection
Text direction.
Definition: DgnPlatform.r.h:726
Definition: DgnPlatform.r.h:193
double overlineOffset
Offset from ascender height to overline.
Definition: DgnPlatform.r.h:720
Definition: DgnPlatform.r.h:1647
Definition: DgnPlatform.r.h:263
Definition: DgnPlatform.r.h:1725
Definition: DgnPlatform.r.h:226
Definition: DgnPlatform.r.h:297
uint16_t UInt16
Definition: Bentley.r.h:118
Definition: DgnPlatform.r.h:1308
Definition: DgnPlatform.r.h:1239
Definition: DgnPlatform.r.h:114
double lineSpacing
Vert uors between chars in text node (nodespace in old tcb)
Definition: DgnPlatform.r.h:717
Symbology underlineStyle
Underline style.
Definition: DgnPlatform.r.h:730
Definition: DgnPlatform.r.h:87
LineCodeOptionFlags
Definition: DgnPlatform.r.h:1246
UInt16 just
Text justification value (0-14)
Definition: DgnPlatform.r.h:723
Definition: DgnPlatform.r.h:131
Definition: DgnPlatform.r.h:1293
Definition: DgnPlatform.r.h:1694
UInt32 reserved3
Definition: DgnPlatform.r.h:738
MSRenderMode GetRenderMode()
Definition: DgnPlatform.r.h:489
EX: "Saturday, April 5, 2012".
Definition: DgnPlatform.r.h:1034
double underlineOffset
Offset from baseline to underline.
Definition: DgnPlatform.r.h:719
EX: "22" (twenty-second day of year, January 22)
Definition: DgnPlatform.r.h:980
Definition: DgnPlatform.r.h:269
Definition: DgnPlatform.r.h:301
EX: "04/05/2012".
Definition: DgnPlatform.r.h:1031
Definition: DgnPlatform.r.h:1682
ReferenceSynchOption
Definition: DgnPlatform.r.h:1899
Definition: DgnPlatform.r.h:138
Definition: DgnPlatform.r.h:152
Byte green
Definition: DgnPlatform.r.h:334
Never used directly, internal to Type 18/19 implmentation only!
Definition: DgnPlatform.r.h:289
Definition: DgnPlatform.r.h:97
Definition: DgnPlatform.r.h:169
TagType
Definition: DgnPlatform.r.h:1742
Offset constraint.
Definition: DgnPlatform.r.h:136
EX: "Aug".
Definition: DgnPlatform.r.h:975
Definition: DgnPlatform.r.h:1276
Definition: DgnPlatform.r.h:199
Definition: DgnPlatform.r.h:224
Definition: DgnPlatform.r.h:246
double numerator
Definition: DgnPlatform.r.h:763
Definition: DgnPlatform.r.h:1699
Definition: DgnPlatform.r.h:1251
Definition: DgnPlatform.r.h:254
SnapMode
Definition: DgnPlatform.r.h:1321
Definition: DgnPlatform.r.h:585
EX: The colons in "4:05 PM".
Definition: DgnPlatform.r.h:1007
Definition: DgnPlatform.r.h:182
Definition: TextTableHandler.h:209
Definition: DgnPlatform.r.h:321
Byte blue
Definition: DgnPlatform.r.h:335
Definition: DgnPlatform.r.h:253
Definition: DgnPlatform.r.h:1723
Definition: DgnPlatform.r.h:61
Definition: DgnPlatform.r.h:1314
LineStyleProp_Type
Definition: DgnPlatform.r.h:1235
Definition: DgnPlatform.r.h:292
EX: The period in "1.234".
Definition: DgnPlatform.r.h:1008
Definition: DgnPlatform.r.h:1876
Definition: DgnPlatform.r.h:275
Definition: DgnPlatform.r.h:1692
a sheet model. Intended to aggregate and present drawings. May reference multiple drawing models...
double baseDir
Definition: DgnPlatform.r.h:525
Definition: DgnPlatform.r.h:25
Definition: DgnPlatform.r.h:161
#define DGNPLATFORM_EXPORT
Definition: DgnPlatform/ExportMacros.h:58
double reserved4
Definition: DgnPlatform.r.h:739
Definition: DgnPlatform.r.h:1710
Definition: DgnPlatform.r.h:126
Definition: DgnPlatform.r.h:1266
The specified position is relative to the current read/write position of the file.
Definition: DgnPlatform.r.h:318
Definition: DgnPlatform.r.h:168
Definition: DgnPlatform.r.h:1706
Definition: DgnPlatform.r.h:190
Definition: DgnPlatform.r.h:270
wchar_t const * WCharCP
Definition: Bentley.h:224
Definition: DgnPlatform.r.h:118
Definition: DgnPlatform.r.h:1696
Definition: DgnPlatform.r.h:89
int16_t Int16
Definition: Bentley.r.h:117
Definition: DgnPlatform.r.h:1648
UInt32 fontNo
Font number.
Definition: DgnPlatform.r.h:712
Definition: DgnPlatform.r.h:166
Definition: DgnPlatform.r.h:128
UInt32 color
Color for the text element.
Definition: DgnPlatform.r.h:735
Definition: DgnPlatform.r.h:271
Definition: DgnPlatform.r.h:196
Definition: DgnPlatform.r.h:1318
Definition: DgnPlatform.r.h:233
MSRenderMode
Definition: DgnPlatform.r.h:401
Byte red
Definition: DgnPlatform.r.h:333
Definition: DgnPlatform.r.h:299
Definition: DgnPlatform.r.h:268
Definition: DgnPlatform.r.h:219
double width
Character width (uors)
Definition: DgnPlatform.r.h:714
The hiddenline processing symbology.
Definition: DgnPlatform.r.h:597
Definition: DgnPlatform.r.h:212
DgnFileFormatType
Known file formats supported by DgnPlatform.
Definition: DgnPlatform.r.h:1043
Hiddenline flags.
Definition: DgnPlatform.r.h:561
uint32_t UInt32
Definition: Bentley.r.h:128
bstdmap & operator=(const bstdmap &__rhs)
Definition: stdcxx/bstdmap.h:170
Definition: DgnPlatform.r.h:207
UInt32 backgroundFillColor
Fill color for text background.
Definition: DgnPlatform.r.h:728
Definition: DgnPlatform.r.h:280
SelectionMode
Definition: DgnPlatform.r.h:768
Definition: DgnPlatform.r.h:170
#define BEGIN_BENTLEY_NAMESPACE
Definition: Bentley.r.h:24
EX: "8".
Definition: DgnPlatform.r.h:994
Definition: Bentley.h:205
LineCodeWidth
Definition: DgnPlatform.r.h:1271
Int32 style
Definition: DgnPlatform.r.h:601
UInt32 reserved1
Definition: DgnPlatform.r.h:736
DgnUnitFormat
Definition: DgnPlatform.r.h:900
MSElementTypes
Definition: DgnPlatform.r.h:1676
Definition: DgnPlatform.r.h:1715
DimensionType
Definition: DgnPlatform.r.h:1069
Definition: DgnPlatform.r.h:312
Definition: DgnPlatform.r.h:1315
Definition: DgnPlatform.r.h:112
RefInitialLevelDisplay
Definition: DgnPlatform.r.h:1630
Definition: DgnPlatform.r.h:211
Definition: DgnPlatform.r.h:194
Definition: DgnPlatform.r.h:262
Definition: DgnPlatform.r.h:258
Definition: DgnPlatform.r.h:1249
Definition: DgnPlatform.r.h:83
UInt16 id
Definition: DgnPlatform.r.h:1848
EX: "Tue".
Definition: DgnPlatform.r.h:969
Definition: DgnPlatform.r.h:1721
Definition: DgnPlatform.r.h:1277
Definition: DgnPlatform.r.h:218
Definition: DgnPlatform.r.h:1745
Definition: DgnPlatform.r.h:1867
long longVal
Definition: DgnPlatform.r.h:1763
Parallel logical constraint.
Definition: DgnPlatform.r.h:1297
EX: "-07", "+11".
Definition: DgnPlatform.r.h:1018
EX: "8".
Definition: DgnPlatform.r.h:998
Definition: DgnPlatform.r.h:1688
Locate interiors according to view attributes for fill display and render mode. (Default) ...
Definition: DgnPlatform.r.h:266
Definition: DgnPlatform.r.h:238
Symbology backgroundStyle
Style for text background border lines.
Definition: DgnPlatform.r.h:727
Definition: DgnPlatform.r.h:96
Definition: DgnPlatform.r.h:1189
"UTC"
Definition: DgnPlatform.r.h:1026
Definition: DgnPlatform.r.h:1679
Definition: DgnPlatform.r.h:174
Definition: DgnPlatform.r.h:144
Definition: DgnPlatform.r.h:1254
Radius dimensional constraint.
Definition: DgnPlatform.r.h:276
Definition: DgnPlatform.r.h:151
Definition: DgnPlatform.r.h:110
Definition: DgnPlatform.r.h:1184
This structure is not intended to be used directly.
Definition: DgnPlatform.r.h:683
Definition: DgnPlatform.r.h:197
Definition: DgnPlatform.r.h:26
double widthFactor
Width factor multiplier.
Definition: DgnPlatform.r.h:721
TagProperty
Definition: DgnPlatform.r.h:1863
Definition: DgnPlatform.r.h:1714
UInt32 shxBigFont
SHX big font number.
Definition: DgnPlatform.r.h:713
Definition: DgnPlatform.r.h:92
Definition: DgnPlatform.r.h:1669
DgnModelType
Identifies the type or purpose of a model.
Definition: DgnPlatform.r.h:367
Definition: DgnPlatform.r.h:184
The flags that control view information.
Definition: DgnPlatform.r.h:427
Definition: DgnPlatform.r.h:232
Definition: DgnPlatform.r.h:1722
Definition: DgnPlatform.r.h:1260
Definition: DgnPlatform.r.h:325
Definition: DgnPlatform.r.h:1248
RefUseColorTable
Definition: DgnPlatform.r.h:1623
GridConfiguration
Definition: DgnPlatform.r.h:931
EX: "1:45 PM".
Definition: DgnPlatform.r.h:1027
Definition: DgnPlatform.r.h:1865
BentleyStatus
Definition: Bentley.h:208
Byte red
Definition: DgnPlatform.r.h:341
The user-defined line traces the maximum offset of the style.
Definition: DgnPlatform.r.h:1627
Definition: DgnPlatform.r.h:173
int32_t Int32
Definition: Bentley.r.h:119
Int16 y
Definition: DgnPlatform.r.h:328
ProxyCachingOption
Definition: DgnPlatform.r.h:1880
Definition: DgnPlatform.r.h:225
Definition: DgnPlatform.r.h:322
Definition: DgnPlatform.r.h:1716
Definition: DgnPlatform.r.h:273
double denominator
Definition: DgnPlatform.r.h:764
ProxyCacheSynch
Definition: DgnPlatform.r.h:1888
Region created by intersection of closed curves.
Stores unit information.
Definition: DgnPlatform.r.h:760
Definition: DgnPlatform.r.h:1749
Definition: DgnPlatform.r.h:220
Definition: DgnPlatform.r.h:198
Definition: DgnPlatform.r.h:1291
EX: "-07:00", "+11:00".
Definition: DgnPlatform.r.h:1021
Definition: DgnPlatform.r.h:140
double slant
Slant in degrees.
Definition: DgnPlatform.r.h:716
LevelId level
Definition: DgnPlatform.r.h:599
Definition: DgnPlatform.r.h:1187
Definition: DgnPlatform.r.h:111
Definition: DgnPlatform.r.h:186
Definition: DgnPlatform.r.h:1684
Definition: DgnPlatform.r.h:1305
Definition: DgnPlatform.r.h:117
Definition: DgnPlatform.r.h:284
Definition: DgnPlatform.r.h:189
Definition: DgnPlatform.r.h:135
Definition: DgnPlatform.r.h:79
Definition: DgnPlatform.r.h:279
Definition: DgnPlatform.r.h:1186
LangCodePage
Definition: CodePages.h:20
Definition: DgnPlatform.r.h:147
Definition: DgnPlatform.r.h:125
Definition: DgnPlatform.r.h:1316
Definition: DgnPlatform.r.h:84
Break from the specified break location to the second point on the segment. This is MLBREAK_FROM_JOIN...
Definition: DgnPlatform.r.h:1179
Definition: DgnPlatform.r.h:74
RefGlobalLinestyleScale
Definition: DgnPlatform.r.h:1658
Definition: DgnPlatform.r.h:156
Definition: DgnPlatform.r.h:200
IsometricPlane
Definition: DgnPlatform.r.h:938
Definition: DgnPlatform.r.h:215
Definition: DgnPlatform.r.h:1877
Definition: DgnPlatform.r.h:298
Definition: DgnPlatform.r.h:237
DirectionMode
Used by DirectionFormatter to specify the mode for direction formatting.
Definition: DgnPlatform.r.h:916
Definition: DgnPlatform.r.h:134
Definition: DgnPlatform.r.h:1654
Definition: DgnPlatform.r.h:120
Using 24-hour clock. EX: "00", "23".
Definition: DgnPlatform.r.h:993
bool operator!=(MSRenderMode lhs, UInt32 rhs)
Definition: DgnPlatform.r.h:420
unsigned char byte
Definition: Bentley.r.h:144
Definition: DgnPlatform.r.h:103
Definition: DgnPlatform.r.h:209
Definition: DgnPlatform.r.h:139
Definition: DgnPlatform.r.h:264
This structure is not intended to be used directly, and supports file storage.
Definition: DgnPlatform.r.h:616
Definition: DgnPlatform.r.h:171
Definition: DgnPlatform.r.h:1190
Definition: DgnPlatform.r.h:77
Definition: DgnPlatform.r.h:1866
Definition: DgnPlatform.r.h:109
void SetTagValue(short val)
short tag value assignment.
Definition: DgnPlatform.r.h:1803
Definition: DgnPlatform.r.h:201
Definition: DgnPlatform.r.h:305
Definition: Bentley.h:204
Definition: DgnPlatform.r.h:49
Definition: DgnPlatform.r.h:1753
Definition: DgnPlatform.r.h:302
EX: "08".
Definition: DgnPlatform.r.h:997
#define BEGIN_BENTLEY_DGNPLATFORM_NAMESPACE
Definition: DgnPlatformBaseType.r.h:68
Use both offset and length.
Definition: DgnPlatform.r.h:1173
Definition: DgnPlatform.r.h:230
Definition: DgnPlatform.r.h:1686
Definition: DgnPlatform.r.h:132
Definition: DgnPlatform.r.h:256
Definition: DgnPlatform.r.h:1671
Definition: DgnPlatform.r.h:187
EX: "12", "99", "08".
Definition: DgnPlatform.r.h:987
Definition: DgnPlatform.r.h:192
Definition: DgnPlatform.r.h:288
wchar_t TagWChar
Definition: DgnPlatform.r.h:1729
Definition: DgnPlatform.r.h:85
Definition: DgnPlatform.r.h:203
CellLibraryType
Definition: DgnPlatform.r.h:376
Int32 locked
Definition: DgnPlatform.r.h:552
Definition: DgnPlatform.r.h:75
LineCodeStrokeFlags
Definition: DgnPlatform.r.h:1257
Definition: DgnPlatform.r.h:143
Definition: DgnPlatform.r.h:267
Definition: DgnPlatform.r.h:320
EX: "Saturday, 5 April, 2012".
Definition: DgnPlatform.r.h:1032
MlineBreakLengthType
The break flags are used to specify that a particular break should extend to or from a joint...
Definition: DgnPlatform.r.h:1170
Definition: DgnPlatform.r.h:206
Definition: DgnPlatform.r.h:304
Definition: DgnPlatform.r.h:306
Definition: DgnPlatform.r.h:80
Definition: DgnPlatform.r.h:1748
Definition: DgnPlatform.r.h:1192
AngleMode
Used by AngleFormatter to specify the mode for angle formatting.
Definition: DgnPlatform.r.h:873
RefNewLevelDisplay
Definition: DgnPlatform.r.h:1651
Definition: DgnPlatform.r.h:105
Definition: DgnPlatform.r.h:213
Definition: DgnPlatform.r.h:55
DgnTagValue value
Definition: DgnPlatform.r.h:1852
Perpendicular logical constraint.
Definition: DgnPlatform.r.h:1709
Definition: DgnPlatform.r.h:1238
ImageColorMode
Definition: DgnPlatform.r.h:1911
Definition: DgnPlatform.r.h:1685
Definition: DgnPlatform.r.h:249
Definition: DgnPlatform.r.h:1690
Definition: DgnPlatform.r.h:294
All fonts in MicroStation, regardless of type, are referenced through an instance of this class...
Definition: DgnFontManager.h:245
Definition: DgnPlatform.r.h:1681
Definition: DgnPlatform.r.h:1296
Definition: DgnPlatform.r.h:1701
Definition: DgnPlatform.r.h:82
Definition: TextTableHandler.h:208
Definition: DgnPlatform.r.h:1625
char const * CharCP
Definition: Bentley.h:226
Definition: DgnPlatform.r.h:261
Definition: DgnPlatform.r.h:309
AngleFormatVals
Definition: DgnPlatform.r.h:504
EX: "Tuesday".
Definition: DgnPlatform.r.h:966
Definition: DgnPlatform.r.h:311
DPoint2d backgroundBorder
Offset added background rectangle.
Definition: DgnPlatform.r.h:729
Definition: DgnPlatform.r.h:86
Definition: DgnPlatform.r.h:177
Definition: DgnPlatform.r.h:1242
Definition: DgnPlatform.r.h:153
Definition: DgnPlatform.r.h:1264
Definition: DgnPlatform.r.h:1263
Definition: DgnPlatform.r.h:1317
Definition: DgnPlatform.r.h:122
Definition: DgnPlatform.r.h:179
EX: "Monday, June 15, 2009 1:45 PM".
Definition: DgnPlatform.r.h:1035
Definition: DgnPlatform.r.h:57
Definition: DgnPlatform.r.h:1262
Definition: DgnPlatform.r.h:300
Definition: DgnPlatform.r.h:255
Definition: DgnPlatform.r.h:231
#define END_BENTLEY_NAMESPACE
Definition: Bentley.r.h:25
Definition: DgnPlatform.r.h:102
Definition: DgnPlatform.r.h:291
This structure is not intended to be used directly, and supports file storage.
Definition: DgnPlatform.r.h:710
UnitFlags flags
Definition: DgnPlatform.r.h:762
EX: "05".
Definition: DgnPlatform.r.h:973
Definition: DgnPlatform.r.h:1711
Definition: DgnPlatform.r.h:1719
Definition: DgnPlatform.r.h:1626
Definition: DgnPlatform.r.h:1700
UInt32 color
Definition: DgnPlatform.r.h:600
Definition: DgnPlatform.r.h:1275
Definition: DgnPlatform.r.h:154
Definition: DgnPlatform.r.h:1708
EX: "08".
Definition: DgnPlatform.r.h:979
A space character.
Definition: DgnPlatform.r.h:1011
Definition: DgnPlatform.r.h:90
TagType GetTagType() const
Returns the type of the tag.
Definition: DgnPlatform.r.h:1824
Definition: DgnPlatform.r.h:76
Int16 x
Definition: DgnPlatform.r.h:327
Curve's middle point or arc's center.
Byte alpha
Definition: DgnPlatform.r.h:336
LineCodeMod
Definition: DgnPlatform.r.h:1301
The user-defined line traces the minimum offset of the style.
Definition: DgnPlatform.r.h:165
UInt32 reserved2
Definition: DgnPlatform.r.h:737
TextStyleFlags flags
Flags for what is on and what is off.
Definition: DgnPlatform.r.h:733
Definition: DgnPlatform.r.h:1707
EX: "4/5/2012".
Definition: DgnPlatform.r.h:1030
TextElementJustification
Justification types for MicroStation text (elements and element-targetted APIs).
Definition: DgnPlatform.r.h:1110
Definition: DgnPlatform.r.h:124
The user-defined line traces the 0 profile offset of the style.
Definition: DgnPlatform.r.h:150
Definition: DgnPlatform.r.h:183
void SetTagValue(double val)
double tag value assignment
Definition: DgnPlatform.r.h:1799
unsigned char Byte
Definition: Bentley.r.h:143
UInt32 color
Definition: DgnPlatform.r.h:547
Definition: DgnPlatform.r.h:286
Definition: DgnPlatform.r.h:1874
DgnElementClass
Definition: DgnPlatform.r.h:1351
DPoint2d lineOffset
Offset of text from baseline (ie superscript)
Definition: DgnPlatform.r.h:722
Definition: DgnPlatform.r.h:116
Definition: DgnPlatform.r.h:133
Definition: DgnPlatform.r.h:1274
Definition: DgnPlatform.r.h:210
Definition: DgnPlatform.r.h:1191
Definition: DgnPlatform.r.h:119
Definition: DgnPlatform.r.h:1683
Definition: DgnPlatform.r.h:1237
Atomic elements.
Definition: DgnPlatform.r.h:965
Definition: DgnPlatform.r.h:1680
Definition: DgnPlatform.r.h:94
Definition: DgnPlatform.r.h:1668
Definition: DgnPlatform.r.h:245
Definition: DgnPlatform.r.h:1311
Definition: DgnPlatform.r.h:243
Definition: DgnPlatform.r.h:1273
Definition: DgnPlatform.r.h:204
Definition: DgnPlatform.r.h:1250
Definition: DgnPlatform.r.h:296
Definition: DgnPlatform.r.h:1717
Definition: DgnPlatform.r.h:141
Definition: DgnPlatform.r.h:283
Definition: DgnPlatform.r.h:242
Definition: DgnPlatform.r.h:158
Definition: DgnPlatform.r.h:319
void * userVal
Definition: DgnPlatform.r.h:1767
Definition: DgnPlatform.r.h:1304
Definition: DgnPlatform.r.h:208
Definition: DgnPlatform.r.h:236
Definition: DgnPlatform.r.h:149
Definition: DgnPlatform.r.h:295
Definition: DgnPlatform.r.h:1712
Definition: DgnPlatform.r.h:234
Definition: DgnPlatform.r.h:145
Definition: DgnPlatform.r.h:257
Definition: DgnPlatform.r.h:99
Definition: DgnPlatform.r.h:130
Definition: DgnPlatform.r.h:315
Definition: DgnPlatform.r.h:274
Definition: DgnPlatform.r.h:73
Definition: DgnPlatform.r.h:100
size_type size() const
Definition: stdcxx/bstdmap.h:214
Definition: DgnPlatform.r.h:1720
EX: "A", "P".
Definition: DgnPlatform.r.h:1016
Definition: DgnPlatform.r.h:1747
Definition: DgnPlatform.r.h:250
Definition: DgnPlatform.r.h:113
Int32 style
Definition: DgnPlatform.r.h:545
EX: "-7", "+11".
Definition: DgnPlatform.r.h:1017
Definition: DgnPlatform.r.h:303
Visualization
Definition: DgnPlatform.r.h:1362
Definition: DgnPlatform.r.h:516
Definition: DgnPlatform.r.h:202
Definition: DgnPlatform.r.h:339
Definition: DgnPlatform.r.h:290
Definition: DgnPlatform.r.h:81
Definition: DgnPlatform.r.h:185
Definition: DgnPlatform.r.h:1718
DwgUnitFormat
Definition: DgnPlatform.r.h:1054
UInt32 weight
Definition: DgnPlatform.r.h:602
Definition: DgnPlatform.r.h:550
Definition: DgnPlatform.r.h:188
Definition: DgnPlatform.r.h:528
Definition: DgnPlatform.r.h:1188
Definition: DgnPlatform.r.h:129
The unit information.
Definition: DgnPlatform.r.h:746
Definition: DgnPlatform.r.h:93
StandardView
Definition: DgnPlatform.r.h:388
EX: "2012", "1999".
Definition: DgnPlatform.r.h:984
UnitBase
Definition: DgnPlatform.r.h:786
Byte blue
Definition: DgnPlatform.r.h:343
Definition: DgnPlatform.r.h:331
Definition: DgnPlatform.r.h:1691
Definition: DgnPlatform.r.h:1241
EX: The slashes in "4/5/2012".
Definition: DgnPlatform.r.h:1006
2d point coordinates.
Definition: dpoint2d.h:23
EX: "1:45:30 PM".
Definition: DgnPlatform.r.h:1029
A string class that has many of the same capabilities as std::string, plus additional functions such ...
Definition: WString.h:51
Definition: DgnPlatform.r.h:1695
Definition: DgnPlatform.r.h:146
Definition: DgnPlatform.r.h:247
Never used directly, internal to Type 18/19 implmentation only!
Definition: DgnPlatform.r.h:293
Definition: DgnPlatform.r.h:228
Byte green
Definition: DgnPlatform.r.h:342
Definition: DgnPlatform.r.h:1702
RefNestOverrides
Definition: DgnPlatform.r.h:1644
MlineOffsetMode
The Offset Mode (or justification) of a multi-line defines the location of the line that the user has...
Definition: DgnPlatform.r.h:1149
Definition: DgnPlatform.r.h:1312
Definition: DgnPlatform.r.h:543
Definition: DgnPlatform.r.h:1713
Definition: DgnPlatform.r.h:142
Definition: DgnPlatform.r.h:1845
LineCodeCap
Definition: DgnPlatform.r.h:1289
unknown status (newly added to system)
bool operator==(MSRenderMode lhs, UInt32 rhs)
Definition: DgnPlatform.r.h:419
Definition: DgnPlatform.r.h:167
Definition: DgnPlatform.r.h:157
Definition: DgnPlatform.r.h:251
Definition: DgnPlatform.r.h:1292
Definition: DgnPlatform.r.h:163

Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.