NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Preferences_VisualizationFonts.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// JA API的C++接口头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Preferences_VisualizationFonts.ja
9
//
10
// 生成工具:
11
// apiwrap
12
//
13
// 警告:
14
// 此文件为自动生成,请勿手动编辑
15
//
16
#pragma once
17
#include <NXOpen/NXDeprecation.hxx>
18
#include <vector>
19
#include <NXOpen/NXString.hxx>
20
#include <NXOpen/Callback.hxx>
21
#include <NXOpen/TaggedObject.hxx>
22
#include <NXOpen/libnxopencpp_preferences_exports.hxx>
23
#ifdef _MSC_VER
24
#pragma warning(push)
25
#pragma warning(disable:4996)
26
#endif
27
#ifdef __GNUC__
28
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
29
#endif
30
namespace
NXOpen
31
{
32
namespace
Preferences
33
{
34
class
VisualizationFonts
;
35
}
36
namespace
Preferences
37
{
38
class
SessionPreferences
;
39
}
40
namespace
Preferences
41
{
42
class
VisualizationFontsImpl;
46
class
NXOPENCPP_PREFERENCESEXPORT
VisualizationFonts
47
{
49
public
:
enum
StyleType
50
{
51
StyleTypeRegular
,
53
StyleTypeBold
,
55
StyleTypeItalic
,
57
StyleTypeBoldItalic
59
};
60
private
:
VisualizationFontsImpl
* m_visualizationfonts_impl;
61
private
:
NXOpen::Preferences::SessionPreferences
* m_owner;
63
public
:
explicit
VisualizationFonts
(
NXOpen::Preferences::SessionPreferences
*owner);
65
public
:
67
tag_t
Tag
()
const
;
68
public
:
~VisualizationFonts
();
72
public
:
void
GetDefaultStandardTextFont
73
(
74
NXString
* fontFamily ,
76
NXOpen::Preferences::VisualizationFonts::StyleType
* fontStyle ,
78
int
* fontSize
80
);
84
public
:
void
SetDefaultStandardTextFont
85
(
86
const
NXString
& fontFamily ,
88
NXOpen::Preferences::VisualizationFonts::StyleType
fontStyle ,
90
int
fontSize
92
);
96
void
SetDefaultStandardTextFont
97
(
98
const
char
* fontFamily ,
100
NXOpen::Preferences::VisualizationFonts::StyleType
fontStyle ,
102
int
fontSize
104
);
105
};
//lint !e1712 default constructor not defined for class
106
}
107
}
108
#ifdef _MSC_VER
109
#pragma warning(pop)
110
#endif
111
#ifdef __GNUC__
112
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
113
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
114
#endif
115
#endif
116
#undef EXPORTLIBRARY