NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Document_ImageBuilder.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口的JA API头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Document_ImageBuilder.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/Diagramming_NodeBuilder.hxx>
22
#include <NXOpen/Document_BaseObjectBuilder.hxx>
23
#include <NXOpen/libdocumentopencpp_exports.hxx>
24
#ifdef _MSC_VER
25
#pragma warning(push)
26
#pragma warning(disable:4996)
27
#endif
28
#ifdef __GNUC__
29
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
30
#endif
31
namespace
NXOpen
32
{
33
namespace
Document
34
{
35
class
ImageBuilder
;
36
}
37
namespace
Diagramming
38
{
39
class
NodeBuilder
;
40
}
41
namespace
Document
42
{
43
class
BaseObjectBuilder
;
44
}
45
namespace
Document
46
{
47
class
_ImageBuilderBuilder;
48
class
ImageBuilderImpl;
53
class
DOCUMENTOPENCPPEXPORT ImageBuilder :
public
NXOpen::Document::BaseObjectBuilder
54
{
58
public
:
enum
SizeOptionType
59
{
60
SizeOptionTypeCustom
,
61
SizeOptionTypeOriginal
62
};
63
private
:
ImageBuilderImpl
* m_imagebuilder_impl;
64
private
:
friend
class
_ImageBuilderBuilder;
65
protected
:
ImageBuilder
();
66
public
:
~ImageBuilder
();
70
public
:
NXOpen::Diagramming::NodeBuilder
*
Node
71
(
72
);
76
public
:
bool
MaintainAspectRatio
77
(
78
);
82
public
:
void
SetMaintainAspectRatio
83
(
84
bool
maintainAspectRatio
85
);
89
public
:
NXOpen::Document::ImageBuilder::SizeOptionType
SizeOption
90
(
91
);
95
public
:
void
SetSizeOption
96
(
97
NXOpen::Document::ImageBuilder::SizeOptionType
sizeOption
98
);
102
public
:
double
Height
103
(
104
);
108
public
:
void
SetHeight
109
(
110
double
height
111
);
115
public
:
double
Width
116
(
117
);
121
public
:
void
SetWidth
122
(
123
double
width
124
);
128
public
:
bool
ShowBorder
129
(
130
);
134
public
:
void
SetShowBorder
135
(
136
bool
showBorder
137
);
141
public
:
void
SetImageFilePath
142
(
143
const
NXString
& imageFilePath
144
);
148
void
SetImageFilePath
149
(
150
const
char
* imageFilePath
151
);
155
public
:
NXString
ImageFilePath
156
(
157
);
158
};
159
}
160
}
161
#ifdef _MSC_VER
162
#pragma warning(pop)
163
#endif
164
#ifdef __GNUC__
165
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
166
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
167
#endif
168
#endif
169
#undef EXPORTLIBRARY