cete.dynamicpdf.attributeobject
AttributeObject
- Namespace: ceTe.DynamicPDF
- Assemblies: DynamicPDF.NETFramework40.dll, DynamicPDF.NETStandard20.dll
Represents an attribute object.
public class AttributeObject : AttributeType
Public Class AttributeObject
Inherits AttributeType
Inheritance: Object → AttributeType → AttributeObject
Licensing
This class is a DynamicPDF Generator Enterprise Edition feature. One of the following licenses is required for non-evaluation usage:
- DynamicPDF Generator for .NET Enterprise Edition
- DynamicPDF Merger for .NET Enterprise Edition
- DynamicPDF ReportWriter for .NET Enterprise Edition
- DynamicPDF Core Suite for .NET Enterprise Edition
Examples
The following example shows how to use an attribute object.
Imports System
Imports ceTe.DynamicPDF
Imports ceTe.DynamicPDF.PageElements
Module MyModule
Sub Main()
' Create a PDF Document
Dim MyDocument As Document = New Document
' Specify document as a tagged PDF
MyDocument.Tag = New TagOptions()
' Create a page and add it to the document
Dim MyPage As Page = New Page()
MyDocument.Pages.Add(MyPage)
' Create a text area
Dim MyTextArea As TextArea = New TextArea("This is the text of a TextArea", _
100, 100, 400, 30,ceTe.DynamicPDF.Font.HelveticaBoldOblique, 18)
' Create a structure element
Dim MyStructureElement As StructureElement = New StructureElement(TagType.Paragraph, True)
' Create an attribute object
Dim MyAttributeObject As AttributeObject = New AttributeObject(AttributeOwner.Layout)
' Add attributes to the attribute object
MyAttributeObject.SetLineHeight() ' Sets default value to the line height attribute
MyAttributeObject.SetHeight(30) ' Sets specified value to the height attribute
' Add attribute object to the structure element
MyStructureElement.AttributeLists.Add(MyAttributeObject)
' Tag the text area with the structure element
MyTextArea.Tag = MyStructureElement
' Add the text area to the page
MyPage.Elements.Add(MyTextArea)
' Save the PDF
MyDocument.Draw("C:\MyDocument.pdf")
End Sub
End Module
using System;
using ceTe.DynamicPDF;
using ceTe.DynamicPDF.PageElements;
public class Example
{
public static void CreatePDF(string outputPath)
{
// Create a PDF Document
Document document = new Document();
// Specify document as a tagged PDF
document.Tag = new TagOptions();
// Create a page and add it to the document
Page page = new Page();
document.Pages.Add(page);
// Create a text area
TextArea textArea = new TextArea("This is the " +"text of a TextArea", 100, 100, 400, 30,
ceTe.DynamicPDF.Font.HelveticaBoldOblique, 18);
// Create a structure element
StructureElement structureElement = new StructureElement(TagType.Paragraph, true);
// Create an attribute object
AttributeObject attributeObject = new AttributeObject(AttributeOwner.Layout);
// Add attributes to the attribute object
attributeObject.SetLineHeight(); // Sets default value to the line height attribute
attributeObject.SetHeight(30); // Sets specified value to the height attribute
// Add attribute object to the structure element
structureElement.AttributeLists.Add(attributeObject);
// Tag the text area with the structure element
textArea.Tag = structureElement;
// Add the text area to the page
page.Elements.Add(textArea);
// Save the PDF
document.Draw( outputPath );
}
}
Constructors
AttributeObject(AttributeOwner)
Initializes a new instance of the AttributeObject class.
public AttributeObject(AttributeOwner attributeOwner)
Public Sub New (attributeOwner As AttributeOwner)
Parameters
- attributeOwner: AttributeOwner
Owner of the attribute object.
Properties
Owner
Gets the owner of the attribute object.
public AttributeOwner Owner { get; }
Public Property Owner As AttributeOwner
Property Value
Methods
Equals(Object)
Determines whether the specified Object is equal to the current Object . (Inherited from Object)
public bool Equals(Object obj)
Function Equals(obj As Object) As Boolean
Parameters
- obj: Object
The Object to compare with the current Object .
Returns
true if the specified Object is equal to the current Object ; otherwise, false.
GetHashCode()
Serves as a hash function for a particular type. (Inherited from Object)
public int GetHashCode()
Function GetHashCode() As Integer
Returns
A hash code for the current Object .
GetType()
Gets the Type of the current instance. (Inherited from Object)
public Type GetType()
Function GetType() As Type
Returns
The Type instance that represents the exact runtime type of the current instance.
SetAutoGlyphOrientationVertical()
Sets a glyph orientation vertical Attribute to the AttributeObject with value auto.
public void SetAutoGlyphOrientationVertical()
Sub SetAutoGlyphOrientationVertical()
SetAutoGlyphOrientationVertical(Int32)
Sets a glyph orientation vertical Attribute to the AttributeObject .
public void SetAutoGlyphOrientationVertical(int angle)
Sub SetAutoGlyphOrientationVertical(angle As Integer)
Parameters
- angle: Int32
value of Attribute
SetAutoHeight()
Sets a height Attribute to the AttributeObject with value auto.
public void SetAutoHeight()
Sub SetAutoHeight()
SetAutoWidth()
Sets a width Attribute to the AttributeObject with value auto.
public void SetAutoWidth()
Sub SetAutoWidth()
SetBackgroundColor()
Sets a background color Attribute to the AttributeObject with default value.
public void SetBackgroundColor()
Sub SetBackgroundColor()
SetBackgroundColor(RgbColor)
Sets a background color Attribute to the AttributeObject .
public void SetBackgroundColor(RgbColor rgbColor)
Sub SetBackgroundColor(rgbColor As RgbColor)
Parameters
- rgbColor: RgbColor
value of Attribute
SetBackgroundColor(Single, Single, Single)
Sets a background color Attribute to the AttributeObject .
public void SetBackgroundColor(float red, float green, float blue)
Sub SetBackgroundColor(red As Single, green As Single, blue As Single)
Parameters
- red: Single
The red intensity.
- green: Single
The green intensity.
- blue: Single
The blue intensity.
SetBaselineShift()
Sets a baseline shift Attribute to the AttributeObject with default value.
public void SetBaselineShift()
Sub SetBaselineShift()
SetBaselineShift(Single)
Sets a baseline shift Attribute to the AttributeObject .
public void SetBaselineShift(float baselineShift)
Sub SetBaselineShift(baselineShift As Single)
Parameters
- baselineShift: Single
value of Attribute
SetBlockAlign()
Sets a block align Attribute to the AttributeObject with default value.
public void SetBlockAlign()
Sub SetBlockAlign()
SetBlockAlign(BlockAlign)
Sets a block align Attribute to the AttributeObject .
public void SetBlockAlign(BlockAlign blockAlign)
Sub SetBlockAlign(blockAlign As BlockAlign)
Parameters
- blockAlign: BlockAlign
value of Attribute
SetBorderColor()
Sets a border color Attribute to the AttributeObject with default value.
public void SetBorderColor()
Sub SetBorderColor()
SetBorderColor(RgbColor)
Sets a border color Attribute to the AttributeObject .
public void SetBorderColor(RgbColor rgbColor)
Sub SetBorderColor(rgbColor As RgbColor)
Parameters
- rgbColor: RgbColor
value of Attribute
SetBorderColor(RgbColor, RgbColor, RgbColor, RgbColor)
Sets a border color Attribute to the AttributeObject .
public void SetBorderColor(RgbColor beforeEdge, RgbColor afterEdge, RgbColor startEdge, RgbColor endEdge)
Sub SetBorderColor(beforeEdge As RgbColor, afterEdge As RgbColor, startEdge As RgbColor, endEdge As RgbColor)
Parameters
- beforeEdge: RgbColor
The before edge color of the border.
- afterEdge: RgbColor
The after edge color of the border.
- startEdge: RgbColor
The start edge color of the border.
- endEdge: RgbColor
The end edge color of the border.
SetBorderColor(Single, Single, Single)
Sets a border color Attribute to the AttributeObject .
public void SetBorderColor(float red, float green, float blue)
Sub SetBorderColor(red As Single, green As Single, blue As Single)
Parameters
- red: Single
The red intensity.
- green: Single
The green intensity.
- blue: Single
The blue intensity.
SetBorderStyle()
Sets a border style Attribute to the AttributeObject with default value.
public void SetBorderStyle()
Sub SetBorderStyle()
SetBorderStyle(BorderStyleAttribute)
Sets a border style Attribute to the AttributeObject .
public void SetBorderStyle(BorderStyleAttribute allEdgesValue)
Sub SetBorderStyle(allEdgesValue As BorderStyleAttribute)
Parameters
- allEdgesValue: BorderStyleAttribute
Value of the Borde style Attribute .
SetBorderStyle(BorderStyleAttribute, BorderStyleAttribute, BorderStyleAttribute, BorderStyleAttribute)
Sets a border style Attribute to the AttributeObject .
public void SetBorderStyle(BorderStyleAttribute beforeEdge, BorderStyleAttribute afterEdge, BorderStyleAttribute startEdge, BorderStyleAttribute endEdge)
Sub SetBorderStyle(beforeEdge As BorderStyleAttribute, afterEdge As BorderStyleAttribute, startEdge As BorderStyleAttribute, endEdge As BorderStyleAttribute)
Parameters
- beforeEdge: BorderStyleAttribute
The before edge border style of the border
- afterEdge: BorderStyleAttribute
The after edge border style of the border
- startEdge: BorderStyleAttribute
The start edge border style of the border
- endEdge: BorderStyleAttribute
The end edge border style of the border
SetBorderThickness()
Sets a border thickness Attribute to the AttributeObject with default value.
public void SetBorderThickness()
Sub SetBorderThickness()
SetBorderThickness(Single)
Sets a border thickness Attribute to the AttributeObject .
public void SetBorderThickness(float allEdgesValue)
Sub SetBorderThickness(allEdgesValue As Single)
Parameters
- allEdgesValue: Single
value of Attribute
SetBorderThickness(Single, Single, Single, Single)
Sets a border thickness Attribute to the AttributeObject .
public void SetBorderThickness(float beforeEdge, float afterEdge, float startEdge, float endEdge)
Sub SetBorderThickness(beforeEdge As Single, afterEdge As Single, startEdge As Single, endEdge As Single)
Parameters
- beforeEdge: Single
Value of the before edge.
- afterEdge: Single
Value of the after edge.
- startEdge: Single
Value of the start edge.
- endEdge: Single
Value of the end edge.
SetBoundingBox()
Sets a bounding box Attribute to the AttributeObject with default value.
public void SetBoundingBox()
Sub SetBoundingBox()
SetBoundingBox(BoundingBox)
Sets a bounding box Attribute to the AttributeObject .
public void SetBoundingBox(BoundingBox bBox)
Sub SetBoundingBox(bBox As BoundingBox)
Parameters
- bBox: BoundingBox
Value of the Attribute
SetBoundingBox(Single, Single, Single, Single)
Sets a bounding box Attribute to the AttributeObject .
public void SetBoundingBox(float left, float bottom, float right, float top)
Sub SetBoundingBox(left As Single, bottom As Single, right As Single, top As Single)
Parameters
- left: Single
Value of the left margin Attribute
- bottom: Single
Value of the bottom margin Attribute
- right: Single
Value of the right margin Attribute
- top: Single
Value of the top margin Attribute
SetChecked()
Sets a checked Attribute to the AttributeObject with default value.
public void SetChecked()
Sub SetChecked()
SetChecked(Checked)
Sets a checked Attribute to the AttributeObject .
public void SetChecked(Checked checkedValue)
Sub SetChecked(checkedValue As Checked)
Parameters
- checkedValue: Checked
value of Attribute
SetColor()
Sets a color Attribute to the AttributeObject with default value.
public void SetColor()
Sub SetColor()
SetColor(RgbColor)
Sets a color Attribute to the AttributeObject .
public void SetColor(RgbColor rgbColor)
Sub SetColor(rgbColor As RgbColor)
Parameters
- rgbColor: RgbColor
value of Attribute
SetColor(Single, Single, Single)
Sets a color Attribute to the AttributeObject .
public void SetColor(float red, float green, float blue)
Sub SetColor(red As Single, green As Single, blue As Single)
Parameters
- red: Single
The red intensity.
- green: Single
The green intensity.
- blue: Single
The blue intensity.
SetColumnCount()
Sets a column count Attribute to the AttributeObject with default value.
public void SetColumnCount()
Sub SetColumnCount()
SetColumnCount(Int32)
Sets a column count Attribute to the AttributeObject .
public void SetColumnCount(int columnCount)
Sub SetColumnCount(columnCount As Integer)
Parameters
- columnCount: Int32
value of Attribute
SetColumnGap()
Sets a column gap Attribute to the AttributeObject with default value.
public void SetColumnGap()
Sub SetColumnGap()
SetColumnGap(Single)
Sets a column gap Attribute to the AttributeObject .
public void SetColumnGap(float columnGap)
Sub SetColumnGap(columnGap As Single)
Parameters
- columnGap: Single
value of Attribute
SetColumnGap(Single[])
Sets a column gap Attribute to the AttributeObject .
public void SetColumnGap(Single[] columnGap)
Sub SetColumnGap(columnGap As Single[])
Parameters
- columnGap: Single[]
value of Attribute
SetColumnSpan()
Sets a column span Attribute to the AttributeObject with default value.
public void SetColumnSpan()
Sub SetColumnSpan()
SetColumnSpan(Int32)
Sets a column span Attribute to the AttributeObject .
public void SetColumnSpan(int colSpan)
Sub SetColumnSpan(colSpan As Integer)
Parameters
- colSpan: Int32
value of Attribute
SetColumnWidths()
Sets a column widths Attribute to the AttributeObject with default value.
public void SetColumnWidths()
Sub SetColumnWidths()
SetColumnWidths(Single)
Sets a column widths Attribute to the AttributeObject .
public void SetColumnWidths(float columnWidths)
Sub SetColumnWidths(columnWidths As Single)
Parameters
- columnWidths: Single
value of Attribute
SetColumnWidths(Single[])
Sets a column widths Attribute to the AttributeObject .
public void SetColumnWidths(Single[] columnWidths)
Sub SetColumnWidths(columnWidths As Single[])
Parameters
- columnWidths: Single[]
value of Attribute
SetDescription(String)
Sets a description Attribute to the AttributeObject .
public void SetDescription(string desc)
Sub SetDescription(desc As String)
Parameters
- desc: String
value of Attribute
SetEndIndent()
Sets a end indent Attribute to the AttributeObject with default value.
public void SetEndIndent()
Sub SetEndIndent()
SetEndIndent(Single)
Sets a end indent Attribute to the AttributeObject .
public void SetEndIndent(float endIndent)
Sub SetEndIndent(endIndent As Single)
Parameters
- endIndent: Single
value of Attribute
SetGlyphOrientationVertical()
Sets a glyph orientation vertical Attribute to the AttributeObject with default value.
public void SetGlyphOrientationVertical()
Sub SetGlyphOrientationVertical()
SetHeaders()
Sets a headers Attribute to the AttributeObject with default value.
public void SetHeaders()
Sub SetHeaders()
SetHeaders(String[])
Sets a headers Attribute to the AttributeObject .
public void SetHeaders(String[] headers)
Sub SetHeaders(headers As String[])
Parameters
- headers: String[]
value of Attribute
SetHeight()
Sets a height Attribute to the AttributeObject with default value.
public void SetHeight()
Sub SetHeight()
SetHeight(Single)
Sets a height Attribute to the AttributeObject .
public void SetHeight(float height)
Sub SetHeight(height As Single)
Parameters
- height: Single
value of Attribute
SetInlineAlign()
Sets a inline align Attribute to the AttributeObject with default value.
public void SetInlineAlign()
Sub SetInlineAlign()
SetInlineAlign(InlineAlign)
Sets a inline align Attribute to the AttributeObject .
public void SetInlineAlign(InlineAlign inlineAlign)
Sub SetInlineAlign(inlineAlign As InlineAlign)
Parameters
- inlineAlign: InlineAlign
value of Attribute
SetLineHeight()
Sets a line height Attribute to the AttributeObject with default value.
public void SetLineHeight()
Sub SetLineHeight()
SetLineHeight(LineHeight)
Sets a line height Attribute to the AttributeObject .
public void SetLineHeight(LineHeight lineHeight)
Sub SetLineHeight(lineHeight As LineHeight)
Parameters
- lineHeight: LineHeight
value of Attribute
SetLineHeight(Single)
Sets a line height Attribute to the AttributeObject .
public void SetLineHeight(float lineHeight)
Sub SetLineHeight(lineHeight As Single)
Parameters
- lineHeight: Single
value of Attribute
SetListNumbering()
Sets a list numbering Attribute to the AttributeObject with default value.
public void SetListNumbering()
Sub SetListNumbering()
SetListNumbering(ListNumbering)
Sets a list numbering Attribute to the AttributeObject .
public void SetListNumbering(ListNumbering listNumbering)
Sub SetListNumbering(listNumbering As ListNumbering)
Parameters
- listNumbering: ListNumbering
value of Attribute
SetPadding()
Sets a padding Attribute to the AttributeObject with default value.
public void SetPadding()
Sub SetPadding()
SetPadding(Single)
Sets a padding Attribute to the AttributeObject .
public void SetPadding(float allEdges)
Sub SetPadding(allEdges As Single)
Parameters
- allEdges: Single
value of Attribute
SetPadding(Single, Single, Single, Single)
Sets a padding Attribute to the AttributeObject .
public void SetPadding(float beforeEdge, float afterEdge, float startEdge, float endEdge)
Sub SetPadding(beforeEdge As Single, afterEdge As Single, startEdge As Single, endEdge As Single)
Parameters
- beforeEdge: Single
Value of the before edge.
- afterEdge: Single
Value of the after edge.
- startEdge: Single
Value of the start edge.
- endEdge: Single
Value of the end edge.
SetPlacement()
Sets a placement Attribute to the AttributeObject with default value.
public void SetPlacement()
Sub SetPlacement()
SetPlacement(Placement)
Sets a placement Attribute to the AttributeObject .
public void SetPlacement(Placement placement)
Sub SetPlacement(placement As Placement)
Parameters
- placement: Placement
value of Attribute
SetRole(Role)
Sets a role Attribute to the AttributeObject .
public void SetRole(Role role)
Sub SetRole(role As Role)
Parameters
- role: Role
value of Attribute
SetRowSpan()
Sets a row span Attribute to the AttributeObject with default value.
public void SetRowSpan()
Sub SetRowSpan()
SetRowSpan(Int32)
Sets a row span Attribute to the AttributeObject .
public void SetRowSpan(int rowSpan)
Sub SetRowSpan(rowSpan As Integer)
Parameters
- rowSpan: Int32
value of Attribute
SetRubyAlign()
Sets a ruby align Attribute to the AttributeObject with default value.
public void SetRubyAlign()
Sub SetRubyAlign()
SetRubyAlign(RubyAlign)
Sets a ruby align Attribute to the AttributeObject .
public void SetRubyAlign(RubyAlign rubyAlign)
Sub SetRubyAlign(rubyAlign As RubyAlign)
Parameters
- rubyAlign: RubyAlign
value of Attribute
SetRubyPosition()
Sets a ruby position Attribute to the AttributeObject with default value.
public void SetRubyPosition()
Sub SetRubyPosition()
SetRubyPosition(RubyPosition)
Sets a ruby positon Attribute to the AttributeObject .
public void SetRubyPosition(RubyPosition rubyPosition)
Sub SetRubyPosition(rubyPosition As RubyPosition)
Parameters
- rubyPosition: RubyPosition
value of Attribute
SetScope()
Sets a scope Attribute to the AttributeObject with default value.
public void SetScope()
Sub SetScope()
SetScope(Scope)
Sets a scope Attribute to the AttributeObject .
public void SetScope(Scope scope)
Sub SetScope(scope As Scope)
Parameters
- scope: Scope
value of Attribute
SetSpaceAfter()
Sets a space after Attribute to the AttributeObject with default value.
public void SetSpaceAfter()
Sub SetSpaceAfter()
SetSpaceAfter(Single)
Sets a space after Attribute to the AttributeObject .
public void SetSpaceAfter(float spaceAfter)
Sub SetSpaceAfter(spaceAfter As Single)
Parameters
- spaceAfter: Single
value of Attribute
SetSpaceBefore()
Sets a space before Attribute to the AttributeObject with default value.
public void SetSpaceBefore()
Sub SetSpaceBefore()
SetSpaceBefore(Single)
Sets a space before Attribute to the AttributeObject .
public void SetSpaceBefore(float spaceBefore)
Sub SetSpaceBefore(spaceBefore As Single)
Parameters
- spaceBefore: Single
value of Attribute
SetStartIndent()
Sets a start indent Attribute to the AttributeObject with default value.
public void SetStartIndent()
Sub SetStartIndent()
SetStartIndent(Single)
Sets a start indent Attribute to the AttributeObject .
public void SetStartIndent(float startIndent)
Sub SetStartIndent(startIndent As Single)
Parameters
- startIndent: Single
value of Attribute
SetSummary(String)
Sets a summary Attribute to the AttributeObject .
public void SetSummary(string summary)
Sub SetSummary(summary As String)
Parameters
- summary: String
value of Attribute
SetTableCellBorderStyle()
Sets a table cell border style Attribute to the AttributeObject with default value.
public void SetTableCellBorderStyle()
Sub SetTableCellBorderStyle()
SetTableCellBorderStyle(BorderStyleAttribute)
Sets a table cell border style Attribute to the AttributeObject .
public void SetTableCellBorderStyle(BorderStyleAttribute tBorderStyle)
Sub SetTableCellBorderStyle(tBorderStyle As BorderStyleAttribute)
Parameters
- tBorderStyle: BorderStyleAttribute
value of Attribute
SetTableCellBorderStyle(BorderStyleAttribute, BorderStyleAttribute, BorderStyleAttribute, BorderStyleAttribute)
Sets a table cell border style Attribute to the AttributeObject .
public void SetTableCellBorderStyle(BorderStyleAttribute beforeEdge, BorderStyleAttribute afterEdge, BorderStyleAttribute startEdge, BorderStyleAttribute endEdge)
Sub SetTableCellBorderStyle(beforeEdge As BorderStyleAttribute, afterEdge As BorderStyleAttribute, startEdge As BorderStyleAttribute, endEdge As BorderStyleAttribute)
Parameters
- beforeEdge: BorderStyleAttribute
Value of the before edge.
- afterEdge: BorderStyleAttribute
Value of the after edge.
- startEdge: BorderStyleAttribute
Value of the start edge.
- endEdge: BorderStyleAttribute
Value of the end edge.
SetTableCellPadding()
Sets a table cell padding Attribute to the AttributeObject with default value.
public void SetTableCellPadding()
Sub SetTableCellPadding()
SetTableCellPadding(Single)
Sets a table cell padding Attribute to the AttributeObject .
public void SetTableCellPadding(float allEdges)
Sub SetTableCellPadding(allEdges As Single)
Parameters
- allEdges: Single
value of Attribute
SetTableCellPadding(Single, Single, Single, Single)
Sets a table cell padding Attribute to the AttributeObject .
public void SetTableCellPadding(float beforeEdge, float afterEdge, float startEdge, float endEdge)
Sub SetTableCellPadding(beforeEdge As Single, afterEdge As Single, startEdge As Single, endEdge As Single)
Parameters
- beforeEdge: Single
Value of the before edge.
- afterEdge: Single
Value of the after edge.
- startEdge: Single
Value of the start edge.
- endEdge: Single
Value of the end edge.
SetTextAlign()
Sets a text align Attribute to the AttributeObject with default value.
public void SetTextAlign()
Sub SetTextAlign()
SetTextAlign(TextAlignAttribute)
Sets a text align Attribute to the AttributeObject .
public void SetTextAlign(TextAlignAttribute textAlign)
Sub SetTextAlign(textAlign As TextAlignAttribute)
Parameters
- textAlign: TextAlignAttribute
value of Attribute
SetTextDecorationColor()
Sets a text decoration color Attribute to the AttributeObject with default value.
public void SetTextDecorationColor()
Sub SetTextDecorationColor()
SetTextDecorationColor(RgbColor)
Sets a text decoration color Attribute to the AttributeObject .
public void SetTextDecorationColor(RgbColor rgbColor)
Sub SetTextDecorationColor(rgbColor As RgbColor)
Parameters
- rgbColor: RgbColor
value of Attribute
SetTextDecorationColor(Single, Single, Single)
Sets a text decoration color Attribute to the AttributeObject .
public void SetTextDecorationColor(float red, float green, float blue)
Sub SetTextDecorationColor(red As Single, green As Single, blue As Single)
Parameters
- red: Single
The red intensity.
- green: Single
The green intensity.
- blue: Single
The blue intensity.
SetTextDecorationThickness()
Sets a text decoration thickness Attribute to the AttributeObject with default value.
public void SetTextDecorationThickness()
Sub SetTextDecorationThickness()
SetTextDecorationThickness(Single)
Sets a text decoration thickness Attribute to the AttributeObject .
public void SetTextDecorationThickness(float textDecorationThickness)
Sub SetTextDecorationThickness(textDecorationThickness As Single)
Parameters
- textDecorationThickness: Single
value of Attribute
SetTextDecorationType()
Sets a text decoration type Attribute to the AttributeObject with default value.
public void SetTextDecorationType()
Sub SetTextDecorationType()
SetTextDecorationType(TextDecorationType)
Sets a text decoration type Attribute to the AttributeObject .
public void SetTextDecorationType(TextDecorationType textDecorationType)
Sub SetTextDecorationType(textDecorationType As TextDecorationType)
Parameters
- textDecorationType: TextDecorationType
value of Attribute
SetTextIndent()
Sets a text indent Attribute to the AttributeObject with default value.
public void SetTextIndent()
Sub SetTextIndent()
SetTextIndent(Single)
Sets a text indent Attribute to the AttributeObject .
public void SetTextIndent(float textIndent)
Sub SetTextIndent(textIndent As Single)
Parameters
- textIndent: Single
value of Attribute
SetWidth()
Sets a width Attribute to the AttributeObject with default value.
public void SetWidth()
Sub SetWidth()
SetWidth(Single)
Sets a width Attribute to the AttributeObject .
public void SetWidth(float width)
Sub SetWidth(width As Single)
Parameters
- width: Single
value of Attribute
SetWritingMode()
Sets a writing mode Attribute to the AttributeObject with default value.
public void SetWritingMode()
Sub SetWritingMode()
SetWritingMode(WritingMode)
Sets a writing mode Attribute to the AttributeObject .
public void SetWritingMode(WritingMode attributeValue)
Sub SetWritingMode(attributeValue As WritingMode)
Parameters
- attributeValue: WritingMode
value of Attribute
ToString()
Returns a String that represents the current Object . (Inherited from Object)
public string ToString()
Function ToString() As String
Returns
A String that represents the current Object .