PageFindInheritedAttribute Method |
Some of the page attributes are designated as inheritable.
If such an attribute is omitted from a page object, its value is inherited
from an ancestor node in the page tree. If the attribute is a required one,
a value must be supplied in an ancestor node; if it is optional and no
inherited value is specified, the default value should be used.
The function walks up the page inhritance tree in search for specified
attribute.
Namespace:
pdftron.PDF
Assembly:
pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax public Obj FindInheritedAttribute(
string attrib
)
Public Function FindInheritedAttribute (
attrib As String
) As Obj
public:
virtual Obj^ FindInheritedAttribute(
[InAttribute] String^ attrib
) sealed
function FindInheritedAttribute(attrib);
Parameters
- attrib
- Type: SystemString
the attrib
Return Value
Type:
Obj if the attribute was found return a pointer to the value. otherwise
the function return NULL.
Resources dictionary (Required; inheritable)
MediaBox rectangle (Required; inheritable)
CropBox rectangle (Optional; inheritable)
Rotate integer (Optional; inheritable)
See Also