Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
Output
Winx64
Build
PublishedApi
DgnPlatform
DgnTextStyleProperties.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
#include <
DgnPlatform/DgnPlatform.r.h
>
10
11
//--------------------------------------------------------------------
12
// This file is included by both .cpp/h and .r files
13
//--------------------------------------------------------------------
14
15
BEGIN_BENTLEY_DGNPLATFORM_NAMESPACE
16
17
#if !defined (resource)
18
static
const
int
TEXTSTYLE_PROPERTY_COUNT = 47;
19
#endif
20
21
22
//=======================================================================================
24
// \group TextStyles
25
// @bsiclass Bentley Systems
26
//=======================================================================================
27
enum
TextStyleProperty
28
{
29
TextStyle_InvalidProperty
= 0,
30
TextStyle_Color
= 1,
31
TextStyle_ColorFlag
= 2,
32
TextStyle_Font
= 3,
33
TextStyle_ShxBigFont
= 4,
34
TextStyle_Width
= 5,
35
TextStyle_Height
= 6,
36
TextStyle_Slant
= 7,
37
TextStyle_Underline
= 8,
38
TextStyle_Overline
= 9,
39
TextStyle_Italics
= 10,
40
TextStyle_Bold
= 11,
41
TextStyle_Superscript
= 12,
42
TextStyle_Subscript
= 13,
43
44
TextStyle_Backgroundstyleflag
= 14,
45
TextStyle_Backgroundstyle
= 15,
46
TextStyle_Backgroundweight
= 16,
47
TextStyle_Backgroundcolor
= 17,
48
TextStyle_Backgroundfillcolor
= 18,
49
TextStyle_Backgroundborder
= 19,
50
51
TextStyle_Underlinestyle
= 20,
52
TextStyle_Underlineweight
= 21,
53
TextStyle_Underlinecolor
= 22,
54
TextStyle_Underlinestyleflag
= 23,
55
TextStyle_UnderlineOffset
= 24,
56
57
TextStyle_Overlinestyle
= 25,
58
TextStyle_Overlineweight
= 26,
59
TextStyle_Overlinecolor
= 27,
60
TextStyle_Overlinestyleflag
= 28,
61
TextStyle_OverlineOffset
= 29,
62
63
TextStyle_LineSpacing
=
DGNPLATFORM_RESOURCE_TextStyle_LineSpacing
,
64
TextStyle_FixedSpacing
= 31,
65
TextStyle_LineOffset
= 32,
66
TextStyle_InterCharSpacing
=
DGNPLATFORM_RESOURCE_TextStyle_InterCharSpacing
,
67
TextStyle_LineSpacingType
= 34,
68
TextStyle_AcadInterCharSpacing
= 35,
69
TextStyle_Justification
= 36,
70
TextStyle_FullJustification
= 38,
71
TextStyle_LineLength
= 39,
72
TextStyle_Backwards
= 41,
73
TextStyle_Upsidedown
= 42,
74
TextStyle_Fractions
= 43,
75
TextStyle_Vertical
= 45,
76
TextStyle_RightToLeft
= 47,
77
};
// TextStyleProperty
78
79
80
END_BENTLEY_DGNPLATFORM_NAMESPACE
81
82
Bentley::DgnPlatform::TextStyle_ColorFlag
bool Flag which controls whether to use the color value defined in the style.
Definition:
DgnTextStyleProperties.r.h:31
END_BENTLEY_DGNPLATFORM_NAMESPACE
#define END_BENTLEY_DGNPLATFORM_NAMESPACE
Definition:
DgnPlatformBaseType.r.h:69
Bentley::DgnPlatform::TextStyle_Backgroundfillcolor
UInt32 The fill color for the background.
Definition:
DgnTextStyleProperties.r.h:48
Bentley::DgnPlatform::TextStyle_Height
double Height of the text.
Definition:
DgnTextStyleProperties.r.h:35
Bentley::DgnPlatform::TextStyle_Backwards
bool Backwards text
Definition:
DgnTextStyleProperties.r.h:72
Bentley::DgnPlatform::TextStyle_UnderlineOffset
double The offset of the underline from the baseline as factor of text height.
Definition:
DgnTextStyleProperties.r.h:55
Bentley::DgnPlatform::TextStyle_Width
double Width of the text.
Definition:
DgnTextStyleProperties.r.h:34
Bentley::DgnPlatform::TextStyle_Overlinecolor
UInt32 The color for the overline.
Definition:
DgnTextStyleProperties.r.h:59
Bentley::DgnPlatform::TextStyle_Backgroundweight
UInt32 The weight for the background.
Definition:
DgnTextStyleProperties.r.h:46
Bentley::DgnPlatform::TextStyle_FixedSpacing
bool The spacing between characters will be constant.
Definition:
DgnTextStyleProperties.r.h:64
Bentley::DgnPlatform::TextStyle_Fractions
bool Enable auto stacking of fractions at placemnet time.
Definition:
DgnTextStyleProperties.r.h:74
Bentley::DgnPlatform::TextStyle_Underline
bool Underlines the text.
Definition:
DgnTextStyleProperties.r.h:37
Bentley::DgnPlatform::TextStyle_InvalidProperty
Definition:
DgnTextStyleProperties.r.h:29
Bentley::DgnPlatform::DGNPLATFORM_RESOURCE_TextStyle_LineSpacing
Definition:
DgnPlatform.r.h:1065
Bentley::DgnPlatform::TextStyle_Color
UInt32 Color value for the text.
Definition:
DgnTextStyleProperties.r.h:30
Bentley::DgnPlatform::TextStyle_Italics
bool Italicizes the text.
Definition:
DgnTextStyleProperties.r.h:39
Bentley::DgnPlatform::TextStyle_LineLength
UInt32 Maximum number of characters per line.
Definition:
DgnTextStyleProperties.r.h:71
Bentley::DgnPlatform::TextStyle_Overlinestyleflag
bool The flag which determines whether the overline style values defined are used.
Definition:
DgnTextStyleProperties.r.h:60
Bentley::DgnPlatform::TextStyle_Underlinestyle
int The style to be used while drawing the underline.
Definition:
DgnTextStyleProperties.r.h:51
DgnPlatform.r.h
Bentley::DgnPlatform::TextStyle_Backgroundborder
DPoint2d The border distances to be used as factor of text height.
Definition:
DgnTextStyleProperties.r.h:49
Bentley::DgnPlatform::DGNPLATFORM_RESOURCE_TextStyle_InterCharSpacing
Definition:
DgnPlatform.r.h:1066
Bentley::DgnPlatform::TextStyle_Overlineweight
UInt32 The weight for the overline.
Definition:
DgnTextStyleProperties.r.h:58
Bentley::DgnPlatform::TextStyle_Slant
double Slant angle value. Note: for True type fonts if slant angle is 0, the italic type face from th...
Definition:
DgnTextStyleProperties.r.h:36
Bentley::DgnPlatform::TextStyle_Backgroundstyleflag
bool Flag which controls whether to use the background style infromation from the style...
Definition:
DgnTextStyleProperties.r.h:44
Bentley::DgnPlatform::TextStyle_Subscript
bool Makes the text subscript.
Definition:
DgnTextStyleProperties.r.h:42
Bentley::DgnPlatform::TextStyle_Underlinecolor
UInt32 The color for the underline.
Definition:
DgnTextStyleProperties.r.h:53
Bentley::DgnPlatform::TextStyle_Backgroundstyle
int The style to be used while drawing the background.
Definition:
DgnTextStyleProperties.r.h:45
Bentley::DgnPlatform::TextStyle_Underlineweight
UInt32 The weight for the underline.
Definition:
DgnTextStyleProperties.r.h:52
Bentley::DgnPlatform::TextStyle_FullJustification
bool Flag to determine whether to justify the entire document.
Definition:
DgnTextStyleProperties.r.h:70
Bentley::DgnPlatform::TextStyle_Upsidedown
bool Upsidedown text.
Definition:
DgnTextStyleProperties.r.h:73
Bentley::DgnPlatform::TextStyleProperty
TextStyleProperty
TextProperty enum which describes the various formatting properties supported by texstyles.
Definition:
DgnTextStyleProperties.r.h:27
Bentley::DgnPlatform::TextStyle_Backgroundcolor
UInt32 The color for the background.
Definition:
DgnTextStyleProperties.r.h:47
Bentley::DgnPlatform::TextStyle_InterCharSpacing
double The spacing between characters as a factor of text height.
Definition:
DgnTextStyleProperties.r.h:66
BEGIN_BENTLEY_DGNPLATFORM_NAMESPACE
#define BEGIN_BENTLEY_DGNPLATFORM_NAMESPACE
Definition:
DgnPlatformBaseType.r.h:68
Bentley::DgnPlatform::TextStyle_Overline
bool Decorates the text with an overline.
Definition:
DgnTextStyleProperties.r.h:38
Bentley::DgnPlatform::TextStyle_Overlinestyle
int The style to be used while drawing the overline.
Definition:
DgnTextStyleProperties.r.h:57
Bentley::DgnPlatform::TextStyle_AcadInterCharSpacing
bool Flag to determine whether to use ACAD spacing.
Definition:
DgnTextStyleProperties.r.h:68
Bentley::DgnPlatform::TextStyle_Superscript
bool Makes the text superscript.
Definition:
DgnTextStyleProperties.r.h:41
Bentley::DgnPlatform::TextStyle_Vertical
bool Make the text element vertical.
Definition:
DgnTextStyleProperties.r.h:75
Bentley::DgnPlatform::TextStyle_ShxBigFont
FontCP The SHX big font to be used if specified. Valid only when used along with a SHX font...
Definition:
DgnTextStyleProperties.r.h:33
Bentley::DgnPlatform::TextStyle_LineOffset
DPoint2d The additional offset on a line as factor of text height.
Definition:
DgnTextStyleProperties.r.h:65
Bentley::DgnPlatform::TextStyle_LineSpacing
double The spacing between lines of text in terms of text height. It is also controlled by the linesp...
Definition:
DgnTextStyleProperties.r.h:63
Bentley::DgnPlatform::TextStyle_Justification
UInt32 Justification to be used for text.
Definition:
DgnTextStyleProperties.r.h:69
Bentley::DgnPlatform::TextStyle_OverlineOffset
double The offset of the overline from the baseline as factor of text height.
Definition:
DgnTextStyleProperties.r.h:61
Bentley::DgnPlatform::TextStyle_LineSpacingType
UInt32 The linespacing type to be used.
Definition:
DgnTextStyleProperties.r.h:67
Bentley::DgnPlatform::TextStyle_RightToLeft
bool Render the characters right to left.
Definition:
DgnTextStyleProperties.r.h:76
Bentley::DgnPlatform::TextStyle_Underlinestyleflag
bool The flag which determines whether the underline style values defined are used.
Definition:
DgnTextStyleProperties.r.h:54
Bentley::DgnPlatform::TextStyle_Bold
bool Makes the text bold.
Definition:
DgnTextStyleProperties.r.h:40
Bentley::DgnPlatform::TextStyle_Font
FontCP Font to be used for rendering the text.
Definition:
DgnTextStyleProperties.r.h:32
Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.