NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
NXOpen::Annotations::EditText类 参考

编辑文本 更多...

#include <Annotations_EditText.hxx>

Public 类型

enum  TextType { TextTypeMainText }

Public 成员函数

std::vector< NXStringGetText (NXOpen::Annotations::Annotation *annotation, NXOpen::Annotations::EditText::TextType textType)
void SetText (NXOpen::Annotations::Annotation *annotation, NXOpen::Annotations::EditText::TextType textType, const std::vector< NXString > &text)
tag_t Tag () const

详细描述

编辑文本

表示编辑文本。可用于编辑注释的文本。
要获取此类的实例,请参考 NXOpen::Annotations::AnnotationManager

创建于 NX2206.0.0.

成员枚举类型说明

◆ TextType

文本类型

枚举值
TextTypeMainText 

注释的主文本

成员函数说明

◆ GetText()

std::vector< NXString > NXOpen::Annotations::EditText::GetText ( NXOpen::Annotations::Annotation * annotation,
NXOpen::Annotations::EditText::TextType textType )

获取文本

返回
文本
创建于 NX2206.0.0.

许可要求:无
参数
annotation注释
textType文本类型

◆ SetText()

void NXOpen::Annotations::EditText::SetText ( NXOpen::Annotations::Annotation * annotation,
NXOpen::Annotations::EditText::TextType textType,
const std::vector< NXString > & text )

设置文本
创建于 NX2206.0.0.

许可要求:drafting ("DRAFTING") 或 geometric_tol ("GDT")

参数
annotation注释
textType文本类型
text文本

◆ Tag()

tag_t NXOpen::Annotations::EditText::Tag ( ) const

返回此对象的标签。