StructureAttribute
Revisió
StructureAttribute És una classe en Aspose.PDF FOSS per a .NET.
Un únic atribut de estructura etiquetada-PDF (claus més un valor tipitzat).
Aquesta classe proporciona 10 mètodes per treballar amb els 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 estan accessibles a qualsevol aplicació .NET després d’instal·lar el Aspose.PDF FOSS per al paquet .Net. Propietats : Key.
Propietats
| Nom | Tipus | Access | Descripció |
|---|---|---|---|
Key | AttributeKey | Llegir | El clau atribuït. |
Mètodes
| Signature | Descripció |
|---|---|
StructureAttribute(key: AttributeKey) | Crea un atribut per a la clau sense valor encara. |
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 /Nom, o zero quan l’atribució té un altre tipus. |
GetNumberValue() | El valor numèric, o zero quan l’atribute té un altre tipus. |
GetArrayNumberValue() | El valor d’arrel de nombres, o zero quan l’atribució té un altre tipus. |
GetStringValue() | El valor de la fila, o zero quan l’atribute té un altre tipus. |