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

字母样式构建器 更多...

#include <Annotations_LetteringStyleBuilder.hxx>

类 NXOpen::Annotations::LetteringStyleBuilder 继承关系图:
NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

Public 成员函数

NXOpen::Annotations::AlignmentPosition AlignPosition ()
double Angle ()
double AppendedNxTextCharacterSpaceFactor ()
double AppendedStandardTextCharacterSpaceFactor ()
double AppendedTextAspectRatio ()
double AppendedTextCharSpaceFactor ()
NXOpen::NXColorAppendedTextColor ()
int AppendedTextFont ()
bool AppendedTextItalicized ()
double AppendedTextLineSpaceFactor ()
NXOpen::Annotations::LineWidth AppendedTextLineWidth ()
double AppendedTextSize ()
double AppendedTextSpaceFactor ()
double AppendedTextSymbolAspectRatio ()
double DimensionNxTextCharacterSpaceFactor ()
double DimensionStandardTextCharacterSpaceFactor ()
double DimensionTextAspectRatio ()
double DimensionTextCharSpaceFactor ()
NXOpen::NXColorDimensionTextColor ()
int DimensionTextFont ()
bool DimensionTextItalicized ()
double DimensionTextLineSpaceFactor ()
NXOpen::Annotations::LineWidth DimensionTextLineWidth ()
double DimensionTextSize ()
double DimensionTextSymbolAspectRatio ()
double DimLineSpaceFactor ()
double GdtFrameHeightFactor ()
double GeneralNxTextCharacterSpaceFactor ()
double GeneralStandardTextCharacterSpaceFactor ()
double GeneralTextAspectRatio ()
double GeneralTextCharSpaceFactor ()
NXOpen::NXColorGeneralTextColor ()
int GeneralTextFont ()
bool GeneralTextItalicized ()
double GeneralTextLineSpaceFactor ()
NXOpen::Annotations::LineWidth GeneralTextLineWidth ()
double GeneralTextSize ()
double GeneralTextSymbolAspectRatio ()
NXOpen::Annotations::TextJustification HorizontalTextJustification ()
int MultilineVerticalTextDisplayFormat ()
void SetAlignPosition (NXOpen::Annotations::AlignmentPosition alignPosition)
void SetAngle (double angle)
void SetAppendedNxTextCharacterSpaceFactor (double appendedNXTextCharSpaceFactor)
void SetAppendedStandardTextCharacterSpaceFactor (double appendedStandardTextCharSpaceFactor)
void SetAppendedTextAspectRatio (double appendedTextAspectRatio)
void SetAppendedTextCharSpaceFactor (double appendedTextCharSpaceFactor)
void SetAppendedTextColor (NXOpen::NXColor *appendedTextColor)
void SetAppendedTextFont (int appendedTextFont)
void SetAppendedTextItalicized (bool appendedTextItalicized)
void SetAppendedTextLineSpaceFactor (double appendedTextLineSpaceFactor)
void SetAppendedTextLineWidth (NXOpen::Annotations::LineWidth appendedTextLineWidth)
void SetAppendedTextSize (double appendedTextSize)
void SetAppendedTextSpaceFactor (double appendedTextSpaceFactor)
void SetAppendedTextSymbolAspectRatio (double appendedTextSymbolAspect)
void SetDimensionNxTextCharacterSpaceFactor (double dimensionNXTextCharSpaceFactor)
void SetDimensionStandardTextCharacterSpaceFactor (double dimensionStandardTextCharSpaceFactor)
void SetDimensionTextAspectRatio (double dimensionTextAspectRatio)
void SetDimensionTextCharSpaceFactor (double dimensionTextCharSpaceFactor)
void SetDimensionTextColor (NXOpen::NXColor *dimensionTextColor)
void SetDimensionTextFont (int dimensionTextFont)
void SetDimensionTextItalicized (bool dimensionTextItalic)
void SetDimensionTextLineSpaceFactor (double dimensionTextLineSpaceFactor)
void SetDimensionTextLineWidth (NXOpen::Annotations::LineWidth dimensionTextLineWidth)
void SetDimensionTextSize (double dimensionTextSize)
void SetDimensionTextSymbolAspectRatio (double dimensionTextSymbolAspect)
void SetDimLineSpaceFactor (double dimLineSpaceFactor)
void SetGdtFrameHeightFactor (double gdtFrameHeightFactor)
void SetGeneralNxTextCharacterSpaceFactor (double generalNXTextCharSpaceFactor)
void SetGeneralStandardTextCharacterSpaceFactor (double generalStandardTextCharSpaceFactor)
void SetGeneralTextAspectRatio (double generalTextAspectRatio)
void SetGeneralTextCharSpaceFactor (double generalTextCharSpaceFactor)
void SetGeneralTextColor (NXOpen::NXColor *generalTextColor)
void SetGeneralTextFont (int generalTextFont)
void SetGeneralTextItalicized (bool generalTextItalicized)
void SetGeneralTextLineSpaceFactor (double generalTextLineSpaceFactor)
void SetGeneralTextLineWidth (NXOpen::Annotations::LineWidth generalTextLineWidth)
void SetGeneralTextSize (double generalTextSize)
void SetGeneralTextSymbolAspectRatio (double generalTextSymbolAspect)
void SetHorizontalTextJustification (NXOpen::Annotations::TextJustification horizontalTextJustification)
void SetMultilineVerticalTextDisplayFormat (int multilineVerticalTextDisplayFormat)
void SetStackAboveSpaceFactor (double stackAboveSpaceFactor)
void SetStackAutospace (bool stackAutospace)
void SetStackBelowSpaceFactor (double stackBelowSpaceFactor)
void SetStackHorizontalAlignment (NXOpen::Annotations::StackHorizontalAlignment stackHorizontalAlignment)
void SetStackInheritAssociatedObjects (bool stackInheritAssociatedObjects)
void SetStackLeftSpaceFactor (double stackLeftSpaceFactor)
void SetStackRightSpaceFactor (double stackRightSpaceFactor)
void SetStackVerticalAlignment (NXOpen::Annotations::StackVerticalAlignment stackVerticalAlignment)
void SetSymbolFontFile (const char *symbolFontFile)
void SetSymbolFontFile (const NXString &symbolFontFile)
void SetToleranceNxTextCharacterSpaceFactor (double toleranceNXTextCharSpaceFactor)
void SetToleranceStandardTextCharacterSpaceFactor (double toleranceStandardTextCharSpaceFactor)
void SetToleranceTextAspectRatio (double toleranceTextAspectRatio)
void SetToleranceTextCharSpaceFactor (double toleranceTextCharSpaceFactor)
void SetToleranceTextColor (NXOpen::NXColor *toleranceTextColor)
void SetToleranceTextFont (int toleranceTextFont)
void SetToleranceTextItalicized (bool toleranceTextItalicized)
void SetToleranceTextLineSpaceFactor (double toleranceTextLineSpaceFactor)
void SetToleranceTextLineWidth (NXOpen::Annotations::LineWidth toleranceTextLineWidth)
void SetToleranceTextSize (double toleranceTextSize)
void SetToleranceTextSpaceFactor (double toleranceTextSpaceFactor)
void SetToleranceTextSymbolAspectRatio (double toleranceTextSymbolAspect)
void SetTwoLineToleranceTextSize (double twoLineToleranceTextSize)
double StackAboveSpaceFactor ()
bool StackAutospace ()
double StackBelowSpaceFactor ()
NXOpen::Annotations::StackHorizontalAlignment StackHorizontalAlignment ()
bool StackInheritAssociatedObjects ()
double StackLeftSpaceFactor ()
double StackRightSpaceFactor ()
NXOpen::Annotations::StackVerticalAlignment StackVerticalAlignment ()
NXString SymbolFontFile ()
double ToleranceNxTextCharacterSpaceFactor ()
double ToleranceStandardTextCharacterSpaceFactor ()
double ToleranceTextAspectRatio ()
double ToleranceTextCharSpaceFactor ()
NXOpen::NXColorToleranceTextColor ()
int ToleranceTextFont ()
bool ToleranceTextItalicized ()
double ToleranceTextLineSpaceFactor ()
NXOpen::Annotations::LineWidth ToleranceTextLineWidth ()
double ToleranceTextSize ()
double ToleranceTextSpaceFactor ()
double ToleranceTextSymbolAspectRatio ()
double TwoLineToleranceTextSize ()
virtual bool Validate ()
Public 成员函数 继承自 NXOpen::TaggedObject
tag_t Tag () const

友元

class _LetteringStyleBuilderBuilder

详细描述

字母样式构建器

表示 NXOpen::Annotations::LetteringStyleBuilder 。 此类用于在创建或编辑注释时查询和设置字符样式首选项。
创建于 NX6.0.0。

成员函数说明

◆ AlignPosition()

NXOpen::Annotations::AlignmentPosition NXOpen::Annotations::LetteringStyleBuilder::AlignPosition ( )

返回 对齐位置
创建于 NX6.0.0。

许可要求:无

◆ Angle()

double NXOpen::Annotations::LetteringStyleBuilder::Angle ( )

返回通用文本的角度
创建于NX6.0.0。

许可要求:无

◆ AppendedNxTextCharacterSpaceFactor()

double NXOpen::Annotations::LetteringStyleBuilder::AppendedNxTextCharacterSpaceFactor ( )

获取附加NX文本字符间距因子。 这将文本中字符之间的间距定义为NX字体标准字符间距的倍数。 此设置特定于创建模式下的首选项和对象样式。
创建于NX9.0.0。

许可要求:无

◆ AppendedStandardTextCharacterSpaceFactor()

double NXOpen::Annotations::LetteringStyleBuilder::AppendedStandardTextCharacterSpaceFactor ( )

获取附加标准文本字符间距因子。 这将文本中字符之间的间距定义为标准字体标准字符间距的倍数。 此设置特定于创建模式下的首选项和对象样式。
创建于NX9.0.0。

许可要求:无

◆ AppendedTextAspectRatio()

double NXOpen::Annotations::LetteringStyleBuilder::AppendedTextAspectRatio ( )

返回附加文本宽高比。 指定表示字符文本大小的长度与高度的比率。 此设置仅定义文本的宽高比。LetteringStyleBuilder::AppendedTextSymbolAspectRatio 控制符号文本控制序列的宽高比。
创建于 NX6.0.0。

许可要求:无

◆ AppendedTextCharSpaceFactor()

double NXOpen::Annotations::LetteringStyleBuilder::AppendedTextCharSpaceFactor ( )

获取附加文本字符间距因子。 这将文本中字符之间的间距定义为当前字体标准字符间距的倍数。
创建于NX6.0.0。

许可要求:无

◆ AppendedTextColor()

NXOpen::NXColor * NXOpen::Annotations::LetteringStyleBuilder::AppendedTextColor ( )

返回附加文本颜色
创建于 NX6.0.0。

许可要求:无

◆ AppendedTextFont()

int NXOpen::Annotations::LetteringStyleBuilder::AppendedTextFont ( )

返回附加文本字体
创建于 NX6.0.0。

许可要求:无

◆ AppendedTextItalicized()

bool NXOpen::Annotations::LetteringStyleBuilder::AppendedTextItalicized ( )

返回附加文本斜体状态
创建于 NX6.0.0。

许可要求:无

◆ AppendedTextLineSpaceFactor()

double NXOpen::Annotations::LetteringStyleBuilder::AppendedTextLineSpaceFactor ( )

返回附加文本行间距因子
创建于 NX6.0.0。

许可要求:无

◆ AppendedTextLineWidth()

NXOpen::Annotations::LineWidth NXOpen::Annotations::LetteringStyleBuilder::AppendedTextLineWidth ( )

返回附加文本行宽。 使用标准字体时NXOpen::Annotations::LineWidth 的值: NXOpen::Annotations::LineWidthThin 的值等效于"Regular"或"Italic"(如果设置了NXOpen::Annotations::LetteringStyleBuilder::AppendedTextItalicized)。 除NXOpen::Annotations::LineWidthThin 外的任何值 等效于"Bold"或"Bold Italic"(如果设置了NXOpen::Annotations::LetteringStyleBuilder::AppendedTextItalicized)。
创建于NX6.0.0。

许可要求:无

◆ AppendedTextSize()

double NXOpen::Annotations::LetteringStyleBuilder::AppendedTextSize ( )

获取附加文本字符大小
创建于NX6.0.0。

许可要求:无

◆ AppendedTextSpaceFactor()

double NXOpen::Annotations::LetteringStyleBuilder::AppendedTextSpaceFactor ( )

返回附加文本间距因子。 此因子控制前置附加文本与其右侧下一段尺寸文本之间的间距,以及后置附加文本与其左侧下一段文本之间的间距。 间距等于附加文本字符大小乘以间距因子。
创建于NX6.0.0。

许可要求:无

◆ AppendedTextSymbolAspectRatio()

double NXOpen::Annotations::LetteringStyleBuilder::AppendedTextSymbolAspectRatio ( )

返回附加文本的符号宽高比(仅在使用标准字体时对符号可用)。 此值控制文本控制序列的宽高比,例如直径符号(由 &#x3C;O&#x3E; 文本控制序列表示)、 沉孔符号(由 &#x3C;&#x23;C&#x3E; 文本控制序列表示)、度符号(由 &#x3C;&#x24;s&#x3E; 文本控制序列表示)、 位置度符号(由 &#x3C;&#x26;10&#x3E; 文本控制序列表示)等。
创建于 NX11.0.0。

许可要求:无

◆ DimensionNxTextCharacterSpaceFactor()

double NXOpen::Annotations::LetteringStyleBuilder::DimensionNxTextCharacterSpaceFactor ( )

返回尺寸NX文本字符间距因子。 此因子定义了文本中字符之间的间距,作为NX字体标准字符间距的倍数。 此设置特定于创建模式下的首选项和对象样式。
创建于NX9.0.0。

许可要求:无

◆ DimensionStandardTextCharacterSpaceFactor()

double NXOpen::Annotations::LetteringStyleBuilder::DimensionStandardTextCharacterSpaceFactor ( )

获取尺寸标准文本字符间距因子。 定义文本中字符间距为标准字体标准字符间距的倍数。 该设置特定于创建模式下的首选项和对象样式。
创建于 NX9.0.0。

许可要求:无

◆ DimensionTextAspectRatio()

double NXOpen::Annotations::LetteringStyleBuilder::DimensionTextAspectRatio ( )

获取尺寸文本宽高比。 指定表示字符文本大小的长度与高度的比率。 此设置仅定义文本的宽高比。LetteringStyleBuilder::DimensionTextSymbolAspectRatio 控制符号文本控制序列的宽高比。
创建于 NX6.0.0。

许可要求:无

◆ DimensionTextCharSpaceFactor()

double NXOpen::Annotations::LetteringStyleBuilder::DimensionTextCharSpaceFactor ( )

获取尺寸文本间距因子。 定义文本中字符间距为当前字体标准字符间距的倍数。
创建于 NX6.0.0。

许可要求:无

◆ DimensionTextColor()

NXOpen::NXColor * NXOpen::Annotations::LetteringStyleBuilder::DimensionTextColor ( )

获取尺寸文本颜色
创建于 NX6.0.0。

许可要求:无

◆ DimensionTextFont()

int NXOpen::Annotations::LetteringStyleBuilder::DimensionTextFont ( )

获取尺寸文本字体
创建于NX6.0.0。

许可要求:无

◆ DimensionTextItalicized()

bool NXOpen::Annotations::LetteringStyleBuilder::DimensionTextItalicized ( )

获取尺寸文本斜体状态
创建于NX8.5.0。

许可要求:无

◆ DimensionTextLineSpaceFactor()

double NXOpen::Annotations::LetteringStyleBuilder::DimensionTextLineSpaceFactor ( )

获取尺寸文本行间距因子
创建于 NX6.0.0。

许可要求:无

◆ DimensionTextLineWidth()

NXOpen::Annotations::LineWidth NXOpen::Annotations::LetteringStyleBuilder::DimensionTextLineWidth ( )

获取尺寸文本线宽。 当使用标准字体时,NXOpen::Annotations::LineWidth 的值: NXOpen::Annotations::LineWidthThin 的值等效于"Regular"或"Italic"(如果设置了NXOpen::Annotations::LetteringStyleBuilder::DimensionTextItalicized)。 除NXOpen::Annotations::LineWidthThin 之外的任何值 等效于"Bold"或"Bold Italic"(如果设置了NXOpen::Annotations::LetteringStyleBuilder::DimensionTextItalicized)。
创建于NX6.0.0。

许可要求:无

◆ DimensionTextSize()

double NXOpen::Annotations::LetteringStyleBuilder::DimensionTextSize ( )

返回尺寸文本字符大小
创建于NX6.0.0。

许可要求:无

◆ DimensionTextSymbolAspectRatio()

double NXOpen::Annotations::LetteringStyleBuilder::DimensionTextSymbolAspectRatio ( )

获取尺寸文本的符号宽高比(仅在使用标准字体时对符号可用)。 此值控制文本控制序列的宽高比,例如 直径符号(由 &#x3C;O&#x3E; 文本控制序列表示)、 沉孔符号(由 &#x3C;&#x23;C&#x3E; 文本控制序列表示)、 度符号(由 &#x3C;&#x24;s&#x3E; 文本控制序列表示)、 位置度符号(由 &#x3C;&#x26;10&#x3E; 文本控制序列表示)等。
创建于 NX11.0.0。

许可要求:无

◆ DimLineSpaceFactor()

double NXOpen::Annotations::LetteringStyleBuilder::DimLineSpaceFactor ( )

返回尺寸线间距因子。 此因子控制尺寸上最底部文本与尺寸线之间的间距。仅当文本方向为文本在尺寸线上方时适用。 间距等于尺寸文本字符大小乘以间距因子。
创建于NX6.0.0。

许可要求:无

◆ GdtFrameHeightFactor()

double NXOpen::Annotations::LetteringStyleBuilder::GdtFrameHeightFactor ( )

返回 GD&T 框高度因子
创建于 NX6.0.0。

许可要求:无

◆ GeneralNxTextCharacterSpaceFactor()

double NXOpen::Annotations::LetteringStyleBuilder::GeneralNxTextCharacterSpaceFactor ( )

获取常规NX文本字符间距因子。 这将文本中字符之间的间距定义为NX字体标准字符间距的倍数。 此设置特定于创建模式下的首选项和对象样式。
创建于 NX9.0.0。

许可要求:无

◆ GeneralStandardTextCharacterSpaceFactor()

double NXOpen::Annotations::LetteringStyleBuilder::GeneralStandardTextCharacterSpaceFactor ( )

获取常规标准文本字符间距因子。 这将文本中字符之间的间距定义为标准字体标准字符间距的倍数。 此设置特定于创建模式下的首选项和对象样式。
创建于 NX9.0.0。

许可要求:无

◆ GeneralTextAspectRatio()

double NXOpen::Annotations::LetteringStyleBuilder::GeneralTextAspectRatio ( )

返回常规文本宽高比。 该值指定表示字符文本大小的长度与高度之比。 此属性仅定义文本的宽高比。符号文本控制序列的宽高比由 LetteringStyleBuilder::GeneralTextSymbolAspectRatio 控制。
创建于 NX6.0.0。

许可要求:无

◆ GeneralTextCharSpaceFactor()

double NXOpen::Annotations::LetteringStyleBuilder::GeneralTextCharSpaceFactor ( )

获取常规文本字符间距因子。 这将文本中字符之间的间距定义为当前字体标准字符间距的倍数。
创建于 NX6.0.0。

许可要求:无

◆ GeneralTextColor()

NXOpen::NXColor * NXOpen::Annotations::LetteringStyleBuilder::GeneralTextColor ( )

返回常规文本颜色
创建于 NX6.0.0。

许可要求:无

◆ GeneralTextFont()

int NXOpen::Annotations::LetteringStyleBuilder::GeneralTextFont ( )

返回常规文本字体
创建于 NX6.0.0。

许可要求:无

◆ GeneralTextItalicized()

bool NXOpen::Annotations::LetteringStyleBuilder::GeneralTextItalicized ( )

返回常规文本斜体状态
创建于 NX6.0.0。

许可要求:无

◆ GeneralTextLineSpaceFactor()

double NXOpen::Annotations::LetteringStyleBuilder::GeneralTextLineSpaceFactor ( )

返回常规文本行间距因子
创建于 NX6.0.0。

许可要求:无

◆ GeneralTextLineWidth()

NXOpen::Annotations::LineWidth NXOpen::Annotations::LetteringStyleBuilder::GeneralTextLineWidth ( )

返回常规文本线宽。 使用标准字体时,NXOpen::Annotations::LineWidth 的值含义如下: 值为 NXOpen::Annotations::LineWidthThin 时,等效于"Regular"或"Italic"(如果设置了 NXOpen::Annotations::LetteringStyleBuilder::GeneralTextItalicized )。 值为 NXOpen::Annotations::LineWidthThin 以外的任何值时,等效于"Bold"或"Bold Italic"(如果设置了 NXOpen::Annotations::LetteringStyleBuilder::GeneralTextItalicized )。
创建于 NX6.0.0。

许可要求:无

◆ GeneralTextSize()

double NXOpen::Annotations::LetteringStyleBuilder::GeneralTextSize ( )

获取常规文本字符大小
创建于 NX6.0.0。

许可要求:无

◆ GeneralTextSymbolAspectRatio()

double NXOpen::Annotations::LetteringStyleBuilder::GeneralTextSymbolAspectRatio ( )

获取常规文本的符号宽高比(仅在使用标准字体时可用于符号)。 此值控制文本控制序列的宽高比,例如 直径符号(由 &#x3C;O&#x3E; 文本控制序列表示)、 沉头孔符号(由 &#x3C;&#x23;C&#x3E; 文本控制序列表示)、 度符号(由 &#x3C;&#x24;s&#x3E; 文本控制序列表示)、 位置度符号(由 &#x3C;&#x26;10&#x3E; 文本控制序列表示)等。
创建于 NX11.0.0。

许可要求:无

◆ HorizontalTextJustification()

NXOpen::Annotations::TextJustification NXOpen::Annotations::LetteringStyleBuilder::HorizontalTextJustification ( )

返回 水平文本对齐方式
创建于 NX6.0.0。

许可要求:无

◆ MultilineVerticalTextDisplayFormat()

int NXOpen::Annotations::LetteringStyleBuilder::MultilineVerticalTextDisplayFormat ( )

返回多行垂直文本显示格式
创建于 NX2312.0.0。

许可要求:无

◆ SetAlignPosition()

void NXOpen::Annotations::LetteringStyleBuilder::SetAlignPosition ( NXOpen::Annotations::AlignmentPosition alignPosition)

设置 对齐位置
创建于 NX6.0.0。

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

参数
alignPositionalignposition

◆ SetAngle()

void NXOpen::Annotations::LetteringStyleBuilder::SetAngle ( double angle)

设置通用文本的角度
创建于NX6.0.0。

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

参数
angleangle

◆ SetAppendedNxTextCharacterSpaceFactor()

void NXOpen::Annotations::LetteringStyleBuilder::SetAppendedNxTextCharacterSpaceFactor ( double appendedNXTextCharSpaceFactor)

设置附加NX文本字符间距因子。 这将文本中字符之间的间距定义为NX字体标准字符间距的倍数。 此设置特定于创建模式下的首选项和对象样式。
创建于NX9.0.0。

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

参数
appendedNXTextCharSpaceFactorappendednxtextcharspacefactor

◆ SetAppendedStandardTextCharacterSpaceFactor()

void NXOpen::Annotations::LetteringStyleBuilder::SetAppendedStandardTextCharacterSpaceFactor ( double appendedStandardTextCharSpaceFactor)

设置附加标准文本字符间距因子。 定义文本字符间距为标准字体标准字符间距的倍数。 此设置特定于创建模式下的首选项和对象样式。
创建于 NX9.0.0。

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

参数
appendedStandardTextCharSpaceFactor附加标准文本字符间距因子

◆ SetAppendedTextAspectRatio()

void NXOpen::Annotations::LetteringStyleBuilder::SetAppendedTextAspectRatio ( double appendedTextAspectRatio)

设置附加文本宽高比。 指定表示字符文本大小的长度与高度的比率。 此设置仅定义文本的宽高比。LetteringStyleBuilder::AppendedTextSymbolAspectRatio 控制符号文本控制序列的宽高比。
创建于 NX6.0.0。

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

参数
appendedTextAspectRatio附加文本宽高比

◆ SetAppendedTextCharSpaceFactor()

void NXOpen::Annotations::LetteringStyleBuilder::SetAppendedTextCharSpaceFactor ( double appendedTextCharSpaceFactor)

设置附加文本字符间距因子。 这将文本中字符之间的间距定义为当前字体标准字符间距的倍数。
创建于NX6.0.0。

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

参数
appendedTextCharSpaceFactorappendedtextcharspacefactor

◆ SetAppendedTextColor()

void NXOpen::Annotations::LetteringStyleBuilder::SetAppendedTextColor ( NXOpen::NXColor * appendedTextColor)

设置附加文本颜色
创建于 NX6.0.0。

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

参数
appendedTextColor附加文本颜色

◆ SetAppendedTextFont()

void NXOpen::Annotations::LetteringStyleBuilder::SetAppendedTextFont ( int appendedTextFont)

设置附加文本字体
创建于 NX6.0.0。

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

参数
appendedTextFont附加文本字体

◆ SetAppendedTextItalicized()

void NXOpen::Annotations::LetteringStyleBuilder::SetAppendedTextItalicized ( bool appendedTextItalicized)

设置附加文本斜体状态
创建于 NX6.0.0。

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

参数
appendedTextItalicized附加文本斜体状态

◆ SetAppendedTextLineSpaceFactor()

void NXOpen::Annotations::LetteringStyleBuilder::SetAppendedTextLineSpaceFactor ( double appendedTextLineSpaceFactor)

设置附加文本行间距因子
创建于 NX6.0.0。

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

参数
appendedTextLineSpaceFactor附加文本行间距因子

◆ SetAppendedTextLineWidth()

void NXOpen::Annotations::LetteringStyleBuilder::SetAppendedTextLineWidth ( NXOpen::Annotations::LineWidth appendedTextLineWidth)

设置附加文本行宽。 使用标准字体时NXOpen::Annotations::LineWidth 的值: NXOpen::Annotations::LineWidthThin 的值等效于"Regular"或"Italic"(如果设置了NXOpen::Annotations::LetteringStyleBuilder::AppendedTextItalicized)。 除NXOpen::Annotations::LineWidthThin 外的任何值 等效于"Bold"或"Bold Italic"(如果设置了NXOpen::Annotations::LetteringStyleBuilder::AppendedTextItalicized)。
创建于NX6.0.0。

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

参数
appendedTextLineWidthappendedtextlinewidth

◆ SetAppendedTextSize()

void NXOpen::Annotations::LetteringStyleBuilder::SetAppendedTextSize ( double appendedTextSize)

设置附加文本字符大小
创建于NX6.0.0。

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

参数
appendedTextSizeappendedtextsize

◆ SetAppendedTextSpaceFactor()

void NXOpen::Annotations::LetteringStyleBuilder::SetAppendedTextSpaceFactor ( double appendedTextSpaceFactor)

设置附加文本间距因子。 此因子控制前置附加文本与其右侧下一段尺寸文本之间的间距,以及后置附加文本与其左侧下一段文本之间的间距。 间距等于附加文本字符大小乘以间距因子。
创建于NX6.0.0。

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

参数
appendedTextSpaceFactorappendedtextspacefactor

◆ SetAppendedTextSymbolAspectRatio()

void NXOpen::Annotations::LetteringStyleBuilder::SetAppendedTextSymbolAspectRatio ( double appendedTextSymbolAspect)

设置附加文本的符号宽高比(仅在使用标准字体时对符号可用)。 此值控制文本控制序列的宽高比,例如直径符号(由 &#x3C;O&#x3E; 文本控制序列表示)、 沉孔符号(由 &#x3C;&#x23;C&#x3E; 文本控制序列表示)、度符号(由 &#x3C;&#x24;s&#x3E; 文本控制序列表示)、 位置度符号(由 &#x3C;&#x26;10&#x3E; 文本控制序列表示)等。
创建于 NX11.0.0。

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

参数
appendedTextSymbolAspect附加文本符号宽高比

◆ SetDimensionNxTextCharacterSpaceFactor()

void NXOpen::Annotations::LetteringStyleBuilder::SetDimensionNxTextCharacterSpaceFactor ( double dimensionNXTextCharSpaceFactor)

设置尺寸NX文本字符间距因子。 此因子定义了文本中字符之间的间距,作为NX字体标准字符间距的倍数。 此设置特定于创建模式下的首选项和对象样式。
创建于NX9.0.0。

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

参数
dimensionNXTextCharSpaceFactordimensionnxtextcharspacefactor

◆ SetDimensionStandardTextCharacterSpaceFactor()

void NXOpen::Annotations::LetteringStyleBuilder::SetDimensionStandardTextCharacterSpaceFactor ( double dimensionStandardTextCharSpaceFactor)

设置尺寸标准文本字符间距因子。 定义文本中字符间距为标准字体标准字符间距的倍数。 该设置特定于创建模式下的首选项和对象样式。
创建于 NX9.0.0。

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

参数
dimensionStandardTextCharSpaceFactordimensionstandardtextcharspacefactor

◆ SetDimensionTextAspectRatio()

void NXOpen::Annotations::LetteringStyleBuilder::SetDimensionTextAspectRatio ( double dimensionTextAspectRatio)

设置尺寸文本宽高比。 指定表示字符文本大小的长度与高度的比率。 此设置仅定义文本的宽高比。LetteringStyleBuilder::DimensionTextSymbolAspectRatio 控制符号文本控制序列的宽高比。
创建于 NX6.0.0。

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

参数
dimensionTextAspectRatiodimensiontextaspectratio

◆ SetDimensionTextCharSpaceFactor()

void NXOpen::Annotations::LetteringStyleBuilder::SetDimensionTextCharSpaceFactor ( double dimensionTextCharSpaceFactor)

设置尺寸文本间距因子。 定义文本中字符间距为当前字体标准字符间距的倍数。
创建于 NX6.0.0。

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

参数
dimensionTextCharSpaceFactordimensiontextcharspacefactor

◆ SetDimensionTextColor()

void NXOpen::Annotations::LetteringStyleBuilder::SetDimensionTextColor ( NXOpen::NXColor * dimensionTextColor)

设置尺寸文本颜色
创建于 NX6.0.0。

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

参数
dimensionTextColordimensiontextcolor

◆ SetDimensionTextFont()

void NXOpen::Annotations::LetteringStyleBuilder::SetDimensionTextFont ( int dimensionTextFont)

设置尺寸文本字体
创建于NX6.0.0。

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

参数
dimensionTextFontdimensiontextfont

◆ SetDimensionTextItalicized()

void NXOpen::Annotations::LetteringStyleBuilder::SetDimensionTextItalicized ( bool dimensionTextItalic)

设置尺寸文本斜体状态
创建于NX8.5.0。

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

参数
dimensionTextItalicdimensiontextitalic

◆ SetDimensionTextLineSpaceFactor()

void NXOpen::Annotations::LetteringStyleBuilder::SetDimensionTextLineSpaceFactor ( double dimensionTextLineSpaceFactor)

设置尺寸文本行间距因子
创建于 NX6.0.0。

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

参数
dimensionTextLineSpaceFactordimensiontextlinespacefactor

◆ SetDimensionTextLineWidth()

void NXOpen::Annotations::LetteringStyleBuilder::SetDimensionTextLineWidth ( NXOpen::Annotations::LineWidth dimensionTextLineWidth)

设置尺寸文本线宽。 当使用标准字体时,NXOpen::Annotations::LineWidth 的值: NXOpen::Annotations::LineWidthThin 的值等效于"Regular"或"Italic"(如果设置了NXOpen::Annotations::LetteringStyleBuilder::DimensionTextItalicized)。 除NXOpen::Annotations::LineWidthThin 之外的任何值 等效于"Bold"或"Bold Italic"(如果设置了NXOpen::Annotations::LetteringStyleBuilder::DimensionTextItalicized)。
创建于NX6.0.0。

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

参数
dimensionTextLineWidthdimensiontextlinewidth

◆ SetDimensionTextSize()

void NXOpen::Annotations::LetteringStyleBuilder::SetDimensionTextSize ( double dimensionTextSize)

设置尺寸文本字符大小
创建于NX6.0.0。

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

参数
dimensionTextSizedimensiontextsize

◆ SetDimensionTextSymbolAspectRatio()

void NXOpen::Annotations::LetteringStyleBuilder::SetDimensionTextSymbolAspectRatio ( double dimensionTextSymbolAspect)

设置尺寸文本的符号宽高比(仅在使用标准字体时对符号可用)。 此值控制文本控制序列的宽高比,例如 直径符号(由 &#x3C;O&#x3E; 文本控制序列表示)、 沉孔符号(由 &#x3C;&#x23;C&#x3E; 文本控制序列表示)、 度符号(由 &#x3C;&#x24;s&#x3E; 文本控制序列表示)、 位置度符号(由 &#x3C;&#x26;10&#x3E; 文本控制序列表示)等。
创建于 NX11.0.0。

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

参数
dimensionTextSymbolAspectdimensiontextsymbolaspect

◆ SetDimLineSpaceFactor()

void NXOpen::Annotations::LetteringStyleBuilder::SetDimLineSpaceFactor ( double dimLineSpaceFactor)

设置尺寸线间距因子。 此因子控制尺寸上最底部文本与尺寸线之间的间距。仅当文本方向为文本在尺寸线上方时适用。 间距等于尺寸文本字符大小乘以间距因子。
创建于NX6.0.0。

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

参数
dimLineSpaceFactordimlinespacefactor

◆ SetGdtFrameHeightFactor()

void NXOpen::Annotations::LetteringStyleBuilder::SetGdtFrameHeightFactor ( double gdtFrameHeightFactor)

设置 GD&T 框高度因子
创建于 NX6.0.0。

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

参数
gdtFrameHeightFactorgdtframeheightfactor

◆ SetGeneralNxTextCharacterSpaceFactor()

void NXOpen::Annotations::LetteringStyleBuilder::SetGeneralNxTextCharacterSpaceFactor ( double generalNXTextCharSpaceFactor)

设置常规NX文本字符间距因子。 这将文本中字符之间的间距定义为NX字体标准字符间距的倍数。 此设置特定于创建模式下的首选项和对象样式。
创建于 NX9.0.0。

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

参数
generalNXTextCharSpaceFactorgeneralnxtextcharspacefactor

◆ SetGeneralStandardTextCharacterSpaceFactor()

void NXOpen::Annotations::LetteringStyleBuilder::SetGeneralStandardTextCharacterSpaceFactor ( double generalStandardTextCharSpaceFactor)

设置常规标准文本字符间距因子。 这将文本中字符之间的间距定义为标准字体标准字符间距的倍数。 此设置特定于创建模式下的首选项和对象样式。
创建于 NX9.0.0。

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

参数
generalStandardTextCharSpaceFactorgeneralstandardtextcharspacefactor

◆ SetGeneralTextAspectRatio()

void NXOpen::Annotations::LetteringStyleBuilder::SetGeneralTextAspectRatio ( double generalTextAspectRatio)

设置常规文本宽高比。 该值指定表示字符文本大小的长度与高度之比。 此属性仅定义文本的宽高比。符号文本控制序列的宽高比由 LetteringStyleBuilder::GeneralTextSymbolAspectRatio 控制。
创建于 NX6.0.0。

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

参数
generalTextAspectRatiogeneraltextaspectratio

◆ SetGeneralTextCharSpaceFactor()

void NXOpen::Annotations::LetteringStyleBuilder::SetGeneralTextCharSpaceFactor ( double generalTextCharSpaceFactor)

设置常规文本字符间距因子。 这将文本中字符之间的间距定义为当前字体标准字符间距的倍数。
创建于 NX6.0.0。

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

参数
generalTextCharSpaceFactorgeneraltextcharspacefactor

◆ SetGeneralTextColor()

void NXOpen::Annotations::LetteringStyleBuilder::SetGeneralTextColor ( NXOpen::NXColor * generalTextColor)

设置常规文本颜色
创建于 NX6.0.0。

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

参数
generalTextColorgeneraltextcolor

◆ SetGeneralTextFont()

void NXOpen::Annotations::LetteringStyleBuilder::SetGeneralTextFont ( int generalTextFont)

设置常规文本字体
创建于 NX6.0.0。

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

参数
generalTextFontgeneraltextfont

◆ SetGeneralTextItalicized()

void NXOpen::Annotations::LetteringStyleBuilder::SetGeneralTextItalicized ( bool generalTextItalicized)

设置常规文本斜体状态
创建于 NX6.0.0。

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

参数
generalTextItalicizedgeneraltextitalicized

◆ SetGeneralTextLineSpaceFactor()

void NXOpen::Annotations::LetteringStyleBuilder::SetGeneralTextLineSpaceFactor ( double generalTextLineSpaceFactor)

设置常规文本行间距因子
创建于 NX6.0.0。

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

参数
generalTextLineSpaceFactorgeneraltextlinespacefactor

◆ SetGeneralTextLineWidth()

void NXOpen::Annotations::LetteringStyleBuilder::SetGeneralTextLineWidth ( NXOpen::Annotations::LineWidth generalTextLineWidth)

设置常规文本线宽。 使用标准字体时,NXOpen::Annotations::LineWidth 的值含义如下: 值为 NXOpen::Annotations::LineWidthThin 时,等效于"Regular"或"Italic"(如果设置了 NXOpen::Annotations::LetteringStyleBuilder::GeneralTextItalicized )。 值为 NXOpen::Annotations::LineWidthThin 以外的任何值时,等效于"Bold"或"Bold Italic"(如果设置了 NXOpen::Annotations::LetteringStyleBuilder::GeneralTextItalicized )。
创建于 NX6.0.0。

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

参数
generalTextLineWidthgeneraltextlinewidth

◆ SetGeneralTextSize()

void NXOpen::Annotations::LetteringStyleBuilder::SetGeneralTextSize ( double generalTextSize)

设置常规文本字符大小
创建于 NX6.0.0。

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

参数
generalTextSizegeneraltextsize

◆ SetGeneralTextSymbolAspectRatio()

void NXOpen::Annotations::LetteringStyleBuilder::SetGeneralTextSymbolAspectRatio ( double generalTextSymbolAspect)

设置常规文本的符号宽高比(仅在使用标准字体时可用于符号)。 此值控制文本控制序列的宽高比,例如 直径符号(由 &#x3C;O&#x3E; 文本控制序列表示)、 沉头孔符号(由 &#x3C;&#x23;C&#x3E; 文本控制序列表示)、 度符号(由 &#x3C;&#x24;s&#x3E; 文本控制序列表示)、 位置度符号(由 &#x3C;&#x26;10&#x3E; 文本控制序列表示)等。
创建于 NX11.0.0。

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

参数
generalTextSymbolAspectgeneraltextsymbolaspect

◆ SetHorizontalTextJustification()

void NXOpen::Annotations::LetteringStyleBuilder::SetHorizontalTextJustification ( NXOpen::Annotations::TextJustification horizontalTextJustification)

设置 水平文本对齐方式
创建于 NX6.0.0。

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

参数
horizontalTextJustificationhorizontaltextjustification

◆ SetMultilineVerticalTextDisplayFormat()

void NXOpen::Annotations::LetteringStyleBuilder::SetMultilineVerticalTextDisplayFormat ( int multilineVerticalTextDisplayFormat)

设置多行垂直文本显示格式
创建于 NX2312.0.0。

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

参数
multilineVerticalTextDisplayFormat多行垂直文本显示格式

◆ SetStackAboveSpaceFactor()

void NXOpen::Annotations::LetteringStyleBuilder::SetStackAboveSpaceFactor ( double stackAboveSpaceFactor)

设置堆叠上方空间因子。 此值指定堆叠内注释上方的空间缓冲区大小, 作为字符大小的倍数因子
创建于 NX6.0.0。

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

参数
stackAboveSpaceFactor堆叠上方空间因子

◆ SetStackAutospace()

void NXOpen::Annotations::LetteringStyleBuilder::SetStackAutospace ( bool stackAutospace)

设置堆叠自动间距设置。 值为 True 表示当符号插入堆叠时将使用系统定义的间距值
创建于 NX6.0.0。

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

参数
stackAutospace堆叠自动间距

◆ SetStackBelowSpaceFactor()

void NXOpen::Annotations::LetteringStyleBuilder::SetStackBelowSpaceFactor ( double stackBelowSpaceFactor)

设置堆叠下方空间因子。 此值指定堆叠内注释下方的空间缓冲区大小, 作为字符大小的倍数因子
创建于 NX6.0.0。

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

参数
stackBelowSpaceFactor堆叠下方空间因子

◆ SetStackHorizontalAlignment()

void NXOpen::Annotations::LetteringStyleBuilder::SetStackHorizontalAlignment ( NXOpen::Annotations::StackHorizontalAlignment stackHorizontalAlignment)

设置堆叠水平对齐方式
创建于 NX6.0.0。

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

参数
stackHorizontalAlignment堆叠水平对齐方式

◆ SetStackInheritAssociatedObjects()

void NXOpen::Annotations::LetteringStyleBuilder::SetStackInheritAssociatedObjects ( bool stackInheritAssociatedObjects)

设置堆叠继承关联对象设置。 值为 True 表示当 PMI 注释添加到堆叠时, 将自动继承该堆叠的关联对象
创建于 NX6.0.0。

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

参数
stackInheritAssociatedObjects堆叠继承关联对象

◆ SetStackLeftSpaceFactor()

void NXOpen::Annotations::LetteringStyleBuilder::SetStackLeftSpaceFactor ( double stackLeftSpaceFactor)

设置堆叠左侧空间因子。 此值指定堆叠内注释左侧的空间缓冲区大小, 作为字符大小的倍数因子
创建于 NX6.0.0。

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

参数
stackLeftSpaceFactor堆叠左侧空间因子

◆ SetStackRightSpaceFactor()

void NXOpen::Annotations::LetteringStyleBuilder::SetStackRightSpaceFactor ( double stackRightSpaceFactor)

设置堆叠右侧空间因子。 此值指定堆叠内注释右侧的空间缓冲区大小, 作为字符大小的倍数因子
创建于 NX6.0.0。

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

参数
stackRightSpaceFactor堆叠右侧空间因子

◆ SetStackVerticalAlignment()

void NXOpen::Annotations::LetteringStyleBuilder::SetStackVerticalAlignment ( NXOpen::Annotations::StackVerticalAlignment stackVerticalAlignment)

设置堆叠垂直对齐方式
创建于 NX6.0.0。

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

参数
stackVerticalAlignmentstackverticalalignment

◆ SetSymbolFontFile() [1/2]

void NXOpen::Annotations::LetteringStyleBuilder::SetSymbolFontFile ( const char * symbolFontFile)

设置符号字体文件设置。 此为全局首选项设置。
创建于 NX9.0.0。

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

参数
symbolFontFile符号字体文件

◆ SetSymbolFontFile() [2/2]

void NXOpen::Annotations::LetteringStyleBuilder::SetSymbolFontFile ( const NXString & symbolFontFile)

设置符号字体文件设置。 此为全局首选项设置。
创建于 NX9.0.0。

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

参数
symbolFontFile符号字体文件

◆ SetToleranceNxTextCharacterSpaceFactor()

void NXOpen::Annotations::LetteringStyleBuilder::SetToleranceNxTextCharacterSpaceFactor ( double toleranceNXTextCharSpaceFactor)

设置公差NX文本字符间距因子。 这将文本中字符之间的间距定义为NX字体标准字符间距的倍数。 此设置特定于创建模式下的首选项和对象样式。
创建于NX9.0.0。

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

参数
toleranceNXTextCharSpaceFactortolerancenxtextcharspacefactor

◆ SetToleranceStandardTextCharacterSpaceFactor()

void NXOpen::Annotations::LetteringStyleBuilder::SetToleranceStandardTextCharacterSpaceFactor ( double toleranceStandardTextCharSpaceFactor)

设置公差标准文本字符间距因子。 这将文本中字符之间的间距定义为标准字体标准字符间距的倍数。 此设置特定于创建模式下的首选项和对象样式。
创建于NX9.0.0。

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

参数
toleranceStandardTextCharSpaceFactortolerancestandardtextcharspacefactor

◆ SetToleranceTextAspectRatio()

void NXOpen::Annotations::LetteringStyleBuilder::SetToleranceTextAspectRatio ( double toleranceTextAspectRatio)

设置公差文本宽高比。 该值指定表示字符文本大小的长度与高度的比率。 此属性仅定义文本的宽高比。符号文本控制序列的宽高比由LetteringStyleBuilder::ToleranceTextSymbolAspectRatio控制。
创建于NX6.0.0。

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

参数
toleranceTextAspectRatiotolerancetextaspectratio

◆ SetToleranceTextCharSpaceFactor()

void NXOpen::Annotations::LetteringStyleBuilder::SetToleranceTextCharSpaceFactor ( double toleranceTextCharSpaceFactor)

设置公差文本字符间距因子。 这将文本中字符之间的间距定义为当前字体标准字符间距的倍数
创建于NX6.0.0。

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

参数
toleranceTextCharSpaceFactortolerancetextcharspacefactor

◆ SetToleranceTextColor()

void NXOpen::Annotations::LetteringStyleBuilder::SetToleranceTextColor ( NXOpen::NXColor * toleranceTextColor)

设置公差文本颜色
创建于NX6.0.0。

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

参数
toleranceTextColortolerancetextcolor

◆ SetToleranceTextFont()

void NXOpen::Annotations::LetteringStyleBuilder::SetToleranceTextFont ( int toleranceTextFont)

设置公差文本字体
创建于NX6.0.0。

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

参数
toleranceTextFonttolerancetextfont

◆ SetToleranceTextItalicized()

void NXOpen::Annotations::LetteringStyleBuilder::SetToleranceTextItalicized ( bool toleranceTextItalicized)

设置公差文本斜体状态
创建于NX6.0.0。

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

参数
toleranceTextItalicizedtolerancetextitalicized

◆ SetToleranceTextLineSpaceFactor()

void NXOpen::Annotations::LetteringStyleBuilder::SetToleranceTextLineSpaceFactor ( double toleranceTextLineSpaceFactor)

设置公差文本行间距因子
创建于NX6.0.0。

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

参数
toleranceTextLineSpaceFactortolerancetextlinespacefactor

◆ SetToleranceTextLineWidth()

void NXOpen::Annotations::LetteringStyleBuilder::SetToleranceTextLineWidth ( NXOpen::Annotations::LineWidth toleranceTextLineWidth)

设置公差文本行宽。 使用标准字体时,NXOpen::Annotations::LineWidth 的值: 值为 NXOpen::Annotations::LineWidthThin 相当于"Regular"或"Italic"(如果设置了 NXOpen::Annotations::LetteringStyleBuilder::ToleranceTextItalicized )。 任何非 NXOpen::Annotations::LineWidthThin 的值 相当于"Bold"或"Bold Italic"(如果设置了 NXOpen::Annotations::LetteringStyleBuilder::ToleranceTextItalicized )。
创建于 NX6.0.0。

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

参数
toleranceTextLineWidthtolerancetextlinewidth

◆ SetToleranceTextSize()

void NXOpen::Annotations::LetteringStyleBuilder::SetToleranceTextSize ( double toleranceTextSize)

设置公差文本字符大小
创建于NX6.0.0。

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

参数
toleranceTextSizetolerancetextsize

◆ SetToleranceTextSpaceFactor()

void NXOpen::Annotations::LetteringStyleBuilder::SetToleranceTextSpaceFactor ( double toleranceTextSpaceFactor)

设置公差文本间距因子。 此因子控制尺寸主文本与后置公差文本之间的间距。 间距等于公差文本字符大小乘以间距因子。
创建于NX6.0.0。

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

参数
toleranceTextSpaceFactortolerancetextspacefactor

◆ SetToleranceTextSymbolAspectRatio()

void NXOpen::Annotations::LetteringStyleBuilder::SetToleranceTextSymbolAspectRatio ( double toleranceTextSymbolAspect)

设置公差文本的符号宽高比(仅在使用标准字体时对符号可用)。 该值控制文本控制序列的宽高比,例如直径符号(由&#x3C;O&#x3E;文本控制序列表示)、 沉孔符号(由&#x3C;&#x23;C&#x3E;文本控制序列表示)、度符号(由&#x3C;&#x24;s&#x3E;文本控制序列表示)、 真实位置符号(由&#x3C;&#x26;10&#x3E;文本控制序列表示)等。
创建于NX11.0.0。

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

参数
toleranceTextSymbolAspecttolerancetextsymbolaspect

◆ SetTwoLineToleranceTextSize()

void NXOpen::Annotations::LetteringStyleBuilder::SetTwoLineToleranceTextSize ( double twoLineToleranceTextSize)

设置双行公差文本字符大小
创建于NX11.0.0。

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

参数
twoLineToleranceTextSizetwolinetolerancetextsize

◆ StackAboveSpaceFactor()

double NXOpen::Annotations::LetteringStyleBuilder::StackAboveSpaceFactor ( )

获取堆叠上方空间因子。 此值指定堆叠内注释上方的空间缓冲区大小, 作为字符大小的倍数因子
创建于 NX6.0.0。

许可要求:无

◆ StackAutospace()

bool NXOpen::Annotations::LetteringStyleBuilder::StackAutospace ( )

获取堆叠自动间距设置。 值为 True 表示当符号插入到堆叠中时, 将使用系统定义的间距值
创建于 NX6.0.0。

许可要求:无

◆ StackBelowSpaceFactor()

double NXOpen::Annotations::LetteringStyleBuilder::StackBelowSpaceFactor ( )

获取堆叠下方空间因子。 此值指定堆叠内注释下方的空间缓冲区大小, 作为字符大小的倍数因子
创建于 NX6.0.0。

许可要求:无

◆ StackHorizontalAlignment()

NXOpen::Annotations::StackHorizontalAlignment NXOpen::Annotations::LetteringStyleBuilder::StackHorizontalAlignment ( )

获取堆叠水平对齐方式
创建于 NX6.0.0。

许可要求:无

◆ StackInheritAssociatedObjects()

bool NXOpen::Annotations::LetteringStyleBuilder::StackInheritAssociatedObjects ( )

获取堆叠继承关联对象设置。 值为 True 表示当 PMI 注释添加到堆叠时, 将自动继承该堆叠的关联对象
创建于 NX6.0.0。

许可要求:无

◆ StackLeftSpaceFactor()

double NXOpen::Annotations::LetteringStyleBuilder::StackLeftSpaceFactor ( )

获取堆叠左侧空间因子。 此值指定堆叠内注释左侧的空间缓冲区大小, 作为字符大小的倍数因子
创建于 NX6.0.0。

许可要求:无

◆ StackRightSpaceFactor()

double NXOpen::Annotations::LetteringStyleBuilder::StackRightSpaceFactor ( )

获取堆叠右侧空间因子。 此值指定堆叠内注释右侧的空间缓冲区大小, 作为字符大小的倍数因子
创建于 NX6.0.0。

许可要求:无

◆ StackVerticalAlignment()

NXOpen::Annotations::StackVerticalAlignment NXOpen::Annotations::LetteringStyleBuilder::StackVerticalAlignment ( )

返回堆叠垂直对齐方式
创建于 NX6.0.0。

许可要求:无

◆ SymbolFontFile()

NXString NXOpen::Annotations::LetteringStyleBuilder::SymbolFontFile ( )

返回符号字体文件设置。 此为全局首选项设置。
创建于 NX9.0.0。

许可要求:无

◆ ToleranceNxTextCharacterSpaceFactor()

double NXOpen::Annotations::LetteringStyleBuilder::ToleranceNxTextCharacterSpaceFactor ( )

返回公差NX文本字符间距因子。 这将文本中字符之间的间距定义为NX字体标准字符间距的倍数。 此设置特定于创建模式下的首选项和对象样式。
创建于NX9.0.0。

许可要求:无

◆ ToleranceStandardTextCharacterSpaceFactor()

double NXOpen::Annotations::LetteringStyleBuilder::ToleranceStandardTextCharacterSpaceFactor ( )

返回公差标准文本字符间距因子。 这将文本中字符之间的间距定义为标准字体标准字符间距的倍数。 此设置特定于创建模式下的首选项和对象样式。
创建于NX9.0.0。

许可要求:无

◆ ToleranceTextAspectRatio()

double NXOpen::Annotations::LetteringStyleBuilder::ToleranceTextAspectRatio ( )

返回公差文本宽高比。 该值指定表示字符文本大小的长度与高度的比率。 此属性仅定义文本的宽高比。符号文本控制序列的宽高比由LetteringStyleBuilder::ToleranceTextSymbolAspectRatio控制。
创建于NX6.0.0。

许可要求:无

◆ ToleranceTextCharSpaceFactor()

double NXOpen::Annotations::LetteringStyleBuilder::ToleranceTextCharSpaceFactor ( )

返回公差文本字符间距因子。 这将文本中字符之间的间距定义为当前字体标准字符间距的倍数
创建于NX6.0.0。

许可要求:无

◆ ToleranceTextColor()

NXOpen::NXColor * NXOpen::Annotations::LetteringStyleBuilder::ToleranceTextColor ( )

返回公差文本颜色
创建于NX6.0.0。

许可要求:无

◆ ToleranceTextFont()

int NXOpen::Annotations::LetteringStyleBuilder::ToleranceTextFont ( )

返回公差文本字体
创建于NX6.0.0。

许可要求:无

◆ ToleranceTextItalicized()

bool NXOpen::Annotations::LetteringStyleBuilder::ToleranceTextItalicized ( )

返回公差文本斜体状态
创建于NX6.0.0。

许可要求:无

◆ ToleranceTextLineSpaceFactor()

double NXOpen::Annotations::LetteringStyleBuilder::ToleranceTextLineSpaceFactor ( )

返回公差文本行间距因子
创建于NX6.0.0。

许可要求:无

◆ ToleranceTextLineWidth()

NXOpen::Annotations::LineWidth NXOpen::Annotations::LetteringStyleBuilder::ToleranceTextLineWidth ( )

返回公差文本线宽。 使用标准字体时,NXOpen::Annotations::LineWidth的值对应关系如下: 值为NXOpen::Annotations::LineWidthThin时,等效于"Regular"或"Italic"(如果设置了NXOpen::Annotations::LetteringStyleBuilder::ToleranceTextItalicized)。 值为NXOpen::Annotations::LineWidthThin以外的任何值时,等效于"Bold"或"Bold Italic"(如果设置了NXOpen::Annotations::LetteringStyleBuilder::ToleranceTextItalicized)。
创建于NX6.0.0。

许可要求:无

◆ ToleranceTextSize()

double NXOpen::Annotations::LetteringStyleBuilder::ToleranceTextSize ( )

返回公差文本字符大小
创建于NX6.0.0。

许可要求:无

◆ ToleranceTextSpaceFactor()

double NXOpen::Annotations::LetteringStyleBuilder::ToleranceTextSpaceFactor ( )

返回公差文本间距因子。 此因子控制尺寸主文本与后置公差文本之间的间距。 间距等于公差文本字符大小乘以间距因子。
创建于NX6.0.0。

许可要求:无

◆ ToleranceTextSymbolAspectRatio()

double NXOpen::Annotations::LetteringStyleBuilder::ToleranceTextSymbolAspectRatio ( )

返回公差文本的符号宽高比(仅在使用标准字体时对符号可用)。 该值控制文本控制序列的宽高比,例如直径符号(由&#x3C;O&#x3E;文本控制序列表示)、 沉孔符号(由&#x3C;&#x23;C&#x3E;文本控制序列表示)、度符号(由&#x3C;&#x24;s&#x3E;文本控制序列表示)、 真实位置符号(由&#x3C;&#x26;10&#x3E;文本控制序列表示)等。
创建于NX11.0.0。

许可要求:无

◆ TwoLineToleranceTextSize()

double NXOpen::Annotations::LetteringStyleBuilder::TwoLineToleranceTextSize ( )

返回双行公差文本字符大小
创建于NX11.0.0。

许可要求:无

◆ Validate()

virtual bool NXOpen::Annotations::LetteringStyleBuilder::Validate ( )
virtual

验证组件的输入是否足以调用提交操作。 如果组件不处于可提交状态,则抛出异常。例如,如果组件要求 您设置某些属性,但您尚未设置,则此方法将抛出异常。 对于某些组件,此方法会抛出未实现的 NXException。

返回
自验证是否成功
创建于 NX3.0.1。

许可要求:无

实现了 NXOpen::GeometricUtilities::IComponentBuilder.