GetProperty
Imposta/Ritorna una proprietà della pagina.
Syntax
|
DocPropertyRc GetProperty(DocPropertyConst iPropertyCode, out object value) |
|
DocPropertyRc SetProperty(DocPropertyConst iPropertyCode, object value) |
Parameters
|
iPropertyCode |
|
Costante che identifica la proprietà da leggere/scrivere. |
|
|
|
Vedi paragrafo successivo. |
|
value |
|
valore della proprietà |
|
|
|
|
|
Return values |
|
|
|
|
|
|
|
DocPropertyRc |
|
|
|
Ok |
|
Nessun errore |
|
GenericErr |
|
Errore generico |
|
PageNotFound |
|
Nessuna pagina aperta |
|
PropertyNotFound |
|
Il codice della proprietà non è stato trovato/non gestito |
|
ReadOnlyProperty |
|
La proprietà è in sola lettura |
|
InvalidPropertyIndex |
|
L’indice della proprietà non è valido (per usi futuri) |
|
|
|
|
Note
DocPropertyConst.
Name
PageWidth
PageHeight
WindowWidth
WindowHeight
BackColor
Data Type
DocPropertyRc