FormattedText
内容
[
隐藏
]FormattedText()
初始化 FormattedText.
public FormattedText()
也可以看看
- class FormattedText
- 命名空间 Aspose.Pdf.Facades
- 部件 Aspose.PDF
FormattedText(string)
初始化 FormattedText.
public FormattedText(string text)
范围 | 类型 | 描述 |
---|---|---|
text | String | FormattedText 中包含的文本。 |
也可以看看
- class FormattedText
- 命名空间 Aspose.Pdf.Facades
- 部件 Aspose.PDF
FormattedText(string, FontColor, FontStyle, EncodingType, bool, float)
初始化 FormattedText.
public FormattedText(string text, FontColor fontColor, FontStyle fontStyle,
EncodingType encodingType, bool embedded, float textSize)
范围 | 类型 | 描述 |
---|---|---|
text | String | 字符串的文本内容。 |
fontColor | FontColor | 文本的颜色。 |
fontStyle | FontStyle | 文本的样式。 |
encodingType | EncodingType | 编码类型(EncodingType 枚举的值)。 |
embedded | Boolean | 如果字体将被嵌入,则为真。 |
textSize | Single | 文本的大小。 |
也可以看看
- class FontColor
- enum FontStyle
- enum EncodingType
- class FormattedText
- 命名空间 Aspose.Pdf.Facades
- 部件 Aspose.PDF
FormattedText(string, FontColor, FontStyle, EncodingType, bool, float, float)
初始化 FormattedText.
public FormattedText(string text, FontColor fontColor, FontStyle textFont,
EncodingType textEncoding, bool embedded, float textSize, float lineSpacing)
范围 | 类型 | 描述 |
---|---|---|
text | String | 字符串的文本内容。 |
fontColor | FontColor | 文本的颜色。 |
textFont | FontStyle | 文本的字体。 |
textEncoding | EncodingType | 文本的编码。 |
embedded | Boolean | 如果将嵌入文本,则为真。 |
textSize | Single | 文本的大小。 |
lineSpacing | Single | 额外的间距。 |
也可以看看
- class FontColor
- enum FontStyle
- enum EncodingType
- class FormattedText
- 命名空间 Aspose.Pdf.Facades
- 部件 Aspose.PDF
FormattedText(string, Color, FontStyle, EncodingType, bool, float)
初始化 FormattedText.
public FormattedText(string text, Color color, FontStyle textFont, EncodingType textEncoding,
bool embedded, float textSize)
范围 | 类型 | 描述 |
---|---|---|
text | String | 字符串的文本内容。 |
color | Color | 文本的颜色。 |
textFont | FontStyle | 文本的字体。 |
textEncoding | EncodingType | 文本的编码。 |
embedded | Boolean | 如果将嵌入文本,则为真。 |
textSize | Single | 文本的大小。 |
也可以看看
- enum FontStyle
- enum EncodingType
- class FormattedText
- 命名空间 Aspose.Pdf.Facades
- 部件 Aspose.PDF
FormattedText(string, Color, FontStyle, EncodingType, bool, float, float)
初始化 FormattedText.
public FormattedText(string text, Color textColor, FontStyle textFont, EncodingType textEncoding,
bool embedded, float textSize, float lineSpacing)
范围 | 类型 | 描述 |
---|---|---|
text | String | 字符串的文本内容。 |
textColor | Color | 文本的颜色。 |
textFont | FontStyle | 文本的字体。 |
textEncoding | EncodingType | 文本的编码。 |
embedded | Boolean | 如果将嵌入真正的字体。 |
textSize | Single | 文本的大小。 |
lineSpacing | Single | 额外的间距。 |
也可以看看
- enum FontStyle
- enum EncodingType
- class FormattedText
- 命名空间 Aspose.Pdf.Facades
- 部件 Aspose.PDF
FormattedText(string, FontColor, FontColor, FontStyle, EncodingType, bool, float)
初始化 FormattedText.
public FormattedText(string text, FontColor textColor, FontColor backColor, FontStyle textFont,
EncodingType textEncoding, bool embedded, float textSize)
范围 | 类型 | 描述 |
---|---|---|
text | String | 字符串的文本内容。 |
textColor | FontColor | 文本的颜色。 |
backColor | FontColor | 背景颜色。 |
textFont | FontStyle | 文本的字体。 |
textEncoding | EncodingType | 文本的编码。 |
embedded | Boolean | 如果将嵌入真正的字体。 |
textSize | Single | 文本的大小。 |
也可以看看
- class FontColor
- enum FontStyle
- enum EncodingType
- class FormattedText
- 命名空间 Aspose.Pdf.Facades
- 部件 Aspose.PDF
FormattedText(string, FontColor, FontColor, FontStyle, EncodingType, bool, float, float)
初始化 FormattedText.
public FormattedText(string text, FontColor textColor, FontColor backColor, FontStyle textFont,
EncodingType textEncoding, bool embedded, float textSize, float lineSpacing)
范围 | 类型 | 描述 |
---|---|---|
text | String | 文字内容。 |
textColor | FontColor | 文本的颜色。 |
backColor | FontColor | 背景颜色。 |
textFont | FontStyle | 文本的字体。 |
textEncoding | EncodingType | 文本的编码。 |
embedded | Boolean | 如果将嵌入真正的字体。 |
textSize | Single | 文本的大小。 |
lineSpacing | Single | 额外的间距。 |
也可以看看
- class FontColor
- enum FontStyle
- enum EncodingType
- class FormattedText
- 命名空间 Aspose.Pdf.Facades
- 部件 Aspose.PDF
FormattedText(string, Color, Color, FontStyle, EncodingType, bool, float)
初始化 FormattedText.
public FormattedText(string text, Color textColor, Color backColor, FontStyle textFont,
EncodingType encoding, bool embedded, float textSize)
范围 | 类型 | 描述 |
---|---|---|
text | String | 字符串的文本内容。 |
textColor | Color | 文本的颜色。 |
backColor | Color | 背景颜色。 |
textFont | FontStyle | 文本的字体。 |
encoding | EncodingType | 文本的编码。 |
embedded | Boolean | 如果字体将被嵌入,则为真。 |
textSize | Single | 文本的大小。 |
也可以看看
- enum FontStyle
- enum EncodingType
- class FormattedText
- 命名空间 Aspose.Pdf.Facades
- 部件 Aspose.PDF
FormattedText(string, Color, Color, FontStyle, EncodingType, bool, float, float)
初始化 FormattedText.
public FormattedText(string text, Color textColor, Color backColor, FontStyle textFont,
EncodingType textEncoding, bool embedded, float textSize, float lineSpacing)
范围 | 类型 | 描述 |
---|---|---|
text | String | 字符串的文本内容。 |
textColor | Color | 文本的颜色。 |
backColor | Color | 背景的颜色。 |
textFont | FontStyle | 文本的字体。 |
textEncoding | EncodingType | 文本的编码。 |
embedded | Boolean | 如果嵌入了真正的字体。 |
textSize | Single | 文本的大小。 |
lineSpacing | Single | 额外的间距。 |
也可以看看
- enum FontStyle
- enum EncodingType
- class FormattedText
- 命名空间 Aspose.Pdf.Facades
- 部件 Aspose.PDF
FormattedText(string, Color, Color, string, EncodingType, bool, float)
初始化 FormattedText.
public FormattedText(string text, Color textColor, Color backColor, string fontName,
EncodingType textEncoding, bool embedded, float fontSize)
范围 | 类型 | 描述 |
---|---|---|
text | String | 文字内容。 |
textColor | Color | 文本的颜色。 |
backColor | Color | 背景颜色。 |
fontName | String | 文本的字体。 |
textEncoding | EncodingType | 文本的编码。 |
embedded | Boolean | 如果将嵌入真正的字体。 |
fontSize | Single | 文本的大小。 |
也可以看看
- enum EncodingType
- class FormattedText
- 命名空间 Aspose.Pdf.Facades
- 部件 Aspose.PDF
FormattedText(string, Color, Color)
初始化 FormattedText.
public FormattedText(string text, Color textColor, Color backColor)
范围 | 类型 | 描述 |
---|---|---|
text | String | 文字内容。 |
textColor | Color | 文本的颜色。 |
backColor | Color | 背景颜色。 |
也可以看看
- class FormattedText
- 命名空间 Aspose.Pdf.Facades
- 部件 Aspose.PDF
FormattedText(string, Color, string, EncodingType, bool, float)
初始化 FormattedText.
public FormattedText(string text, Color textColor, string fontName, EncodingType textEncoding,
bool embedded, float fontSize)
范围 | 类型 | 描述 |
---|---|---|
text | String | 文字内容。 |
textColor | Color | 文本的颜色。 |
fontName | String | 文本的字体。 |
textEncoding | EncodingType | 文本的编码。 |
embedded | Boolean | 如果将嵌入真正的字体。 |
fontSize | Single | 文本的大小。 |
也可以看看
- enum EncodingType
- class FormattedText
- 命名空间 Aspose.Pdf.Facades
- 部件 Aspose.PDF