StructureAttribute
Visió general
StructureAttribute és una classe a Aspose.PDF FOSS per a .NET.
Un únic atribut d’estructura tagged-PDF (clau més un valor tipat).
Aquesta classe proporciona 10 mètodes per treballar amb objectes StructureAttribute en programes .NET.
Els mètodes disponibles inclouen: GetArrayNumberValue, GetNameValue, GetNumberValue, GetStringValue, SetArrayNumberValue, SetColorValue, SetNameValue, SetNumberValue, SetStringValue, StructureAttribute.
Tots els membres públics són accessibles a qualsevol aplicació .NET després d’instal·lar el paquet Aspose.PDF FOSS for .NET.
Propietats: Key.
Propietats
| Nom | Tipus | Accés | Descripció |
|---|---|---|---|
Key | AttributeKey | Lectura | La clau de l’atribut. |
Mètodes
| Signatura | Descripció |
|---|---|
StructureAttribute(key: AttributeKey) | Crea un atribut per a la clau que encara no té valor. |
SetNameValue(name: AttributeName) | Estableix un valor /Name. |
SetNumberValue(value: double) | Estableix un valor numèric. |
SetArrayNumberValue(value: double?[]) | Estableix un valor de matriu de nombres. |
SetColorValue(color: Aspose.Pdf.Color) | Estableix un valor de color (emmagatzemat com una matriu RGB de 3 components). |
SetStringValue(value: string) | Estableix un valor de cadena. |
GetNameValue() | El valor /Name, o null quan l’atribut conté un altre tipus. |
GetNumberValue() | El valor numèric, o null quan l’atribut conté un altre tipus. |
GetArrayNumberValue() | El valor de matriu de nombres, o null quan l’atribut conté un altre tipus. |
GetStringValue() | El valor de cadena, o null quan l’atribut conté un altre tipus. |