TOCIElement

Összefoglaló

TOCIElement egy osztály a FOSS Aspose.PDF-ban .NET számára. Az alábbiakból származik: ゚StructureElement`.

Ez a osztály 11 módszert kínál a TOCIElement objektumokkal való munkavégzéshez .NET programokban. A rendelkezésre álló módszerek közé tartozik: AdjustPosition, ⌒AppendChild゚, , ゙ChangeParentElementヽ, \\ \ \ pIacehOlDER 4 } , \\\\ detach,, \ \\ pPace hólder _5}▽,\ ̋RemoveAndMoveItsChildObjectsToItsParent⌒, SetId∀, SetTag◇, <\ plaseleHollder9}∂, > \ t\ l\ n\ r\ s. Az összes közintézett alkalmazás hozzáférhető az {PLÉSZETLÁRÓGYALÁSZÍTASZATOSI FÖVELMESENYEGE} telepítését követően. 6 / \ PláseHoltási ATRIBUTUS SZONKÚJÁSADÁSÁNYANYAGL ÁLLAMADÁSI TÁNÁGJAG KAPÍRA GYORSZAGÁNAGÜSSÁGI DEME MEGYÁNSÁNI RÁLISÁBA.

A tulajdonságok

NameTypeAccessDescription
StructureTextStateStructureTextStateReadText-state applied to this element’s inline content (stored only — the structure builder doesn’t re-render through it).
AttributesStructureElementAttributesReadThe structure attributes (/A) attached to this element, organised by owner.
StructureTypestringReadThe PDF structure-type role (/S entry, e.g.
ActualTextstringRead/WriteThe replacement text for the marked content (/ActualText).
AlternativeTextstringRead/WriteAlternate text used by assistive technology (/Alt).
ExpansionTextstringRead/WriteExpansion text for an abbreviation (/E).
LanguagestringRead/WriteBCP-47 language code for the element’s content (/Lang).
IDstringReadElement identifier (/ID); read-only — assigned at save.
TitlestringRead/WriteTitle of the structure element (/T).
PagePage?ReadPage hosting this element’s content, or null when the element hasn’t been attached to a page yet.
ParentElementStructureElement?ReadThe parent structure element, or null when this element is detached or directly under the structure-tree root.
ChildElementsElementListReadDirect children of this element.

Módszerek

SignatureDescription
AppendChild(child: StructureElement)Append child under this element’s /K array.
SetTag(tag: string)Remap this element’s role to a custom tag, registering tag → its standard type in the document role map.
ToString()Textual representation used when dumping the structure tree (role name; falls back to the type name).
FindElements(recursive: bool)Recursively find descendant elements of type T.
SetText(text: string)Set the element’s text content (stored as ActualText).
SetId(id: string)Set the element identifier (/ID).
ClearId()Remove the element identifier (/ID).
AdjustPosition(settings: object)Stub no-op kept for compat with the AdjustPosition authoring API — FOSS doesn’t render through PositionSettings yet.
ChangeParentElement(newParent: StructureElement, validate: bool)Move this element under newParent.
RemoveAndMoveItsChildObjectsToItsParent(validate: bool)Detach this element, then re-parent its children under this element’s former parent (taking this element’s slot).
Detach()Detach this element from its parent.

Lásd még:

  • Aspose.PDF a .NET Enterprise API referenciára
 Magyar